kopia lustrzana https://gitlab.com/eliggett/wfview
Force 16 bit samples if 24 is requested.
rodzic
55fdf52436
commit
e834396387
|
@ -126,6 +126,11 @@ bool audioHandler::init(audioSetup setupIn)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (format.sampleSize() == 24) {
|
||||
// We can't convert this easily
|
||||
format.setSampleSize(16);
|
||||
}
|
||||
|
||||
qInfo(logAudio()) << (setup.isinput ? "Input" : "Output") << "Internal: sample rate" << format.sampleRate() << "channel count" << format.channelCount();
|
||||
|
||||
// We "hopefully" now have a valid format that is supported so try connecting
|
||||
|
|
Ładowanie…
Reference in New Issue