mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:52:26 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
inputParameters.channelCount = 2; // Stereo input
|
inputParameters.channelCount = 1; // Stereo input
|
||||||
inputParameters.sampleFormat = (paInt16 | paNonInterleaved);
|
inputParameters.sampleFormat = (paInt16 | paNonInterleaved);
|
||||||
inputParameters.suggestedLatency = Pa_GetDeviceInfo(inputParameters.device)->defaultLowInputLatency;
|
inputParameters.suggestedLatency = Pa_GetDeviceInfo(inputParameters.device)->defaultLowInputLatency;
|
||||||
inputParameters.hostApiSpecificStreamInfo = NULL;
|
inputParameters.hostApiSpecificStreamInfo = NULL;
|
||||||
|
|
Loading…
Reference in a new issue