kopia lustrzana https://gitlab.com/eliggett/wfview
Fix portaudio
rodzic
4e62f365cd
commit
322cc54ad6
|
@ -112,8 +112,8 @@ bool paHandler::init(audioSetup setup)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (inFormat.channelCount() < outFormat.channelCount()) {
|
||||
outFormat.setChannelCount(inFormat.channelCount());
|
||||
if (outFormat.channelCount() == 1 && inFormat.channelCount() == 2) {
|
||||
outFormat.setChannelCount(2);
|
||||
}
|
||||
|
||||
aParams.channelCount = outFormat.channelCount();
|
||||
|
|
Ładowanie…
Reference in New Issue