mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
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
@ -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…
Reference in New Issue
Block a user