110 |
|
|
111 |
void AudioOutputDeviceJack::AcquireChannels(uint uiChannels) { |
void AudioOutputDeviceJack::AcquireChannels(uint uiChannels) { |
112 |
if (uiChannels > this->Channels.size()) { |
if (uiChannels > this->Channels.size()) { |
113 |
for (int c = uiChannels; c < uiChannels; c++) { |
for (int c = this->Channels.size(); c < uiChannels; c++) { |
114 |
// create new jack output port |
// create new jack output port |
115 |
std::stringstream portid; portid << "LinuxSampler:" << c; |
std::stringstream portid; portid << "LinuxSampler:" << c; |
116 |
jack_port_t* newport; |
jack_port_t* newport; |