Windows: Support non-extensible float in WASAPI.
The DualShock 4's headphone jack uses this, for example.
This commit is contained in:
parent
f7c96651e6
commit
ae5ff4bf71
1 changed files with 2 additions and 0 deletions
|
@ -313,6 +313,8 @@ int WASAPIAudioBackend::RunThread() {
|
|||
format = PCM16;
|
||||
}
|
||||
}
|
||||
} else if (pDeviceFormat->Format.wFormatTag == WAVE_FORMAT_IEEE_FLOAT) {
|
||||
format = IEEE_FLOAT;
|
||||
} else {
|
||||
ERROR_LOG_REPORT_ONCE(unexpectedformat2, SCEAUDIO, "Got unexpected non-extensible WASAPI stream format, expected extensible float!");
|
||||
if (pDeviceFormat->Format.wBitsPerSample == 16 && pDeviceFormat->Format.nChannels == 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue