mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 03:01:59 +02:00
switch to one channel from PortAudio to resolve USB error
This commit is contained in:
parent
15cf909fce
commit
146e9176eb
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ Audio::Audio(Oscilloscope* scope, int16_t initialJitterBufferSamples) :
|
|||
return;
|
||||
}
|
||||
|
||||
inputParameters.channelCount = 2; // Stereo input
|
||||
inputParameters.channelCount = 1; // Stereo input
|
||||
inputParameters.sampleFormat = (paInt16 | paNonInterleaved);
|
||||
inputParameters.suggestedLatency = Pa_GetDeviceInfo(inputParameters.device)->defaultLowInputLatency;
|
||||
inputParameters.hostApiSpecificStreamInfo = NULL;
|
||||
|
|
Loading…
Reference in a new issue