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