half-duplex
Phil Taylor 2023-01-02 17:56:22 +00:00
rodzic 4e62f365cd
commit 322cc54ad6
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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();