mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 00:04:49 +02:00
Windows: Support non-extensible float in WASAPI.
The DualShock 4's headphone jack uses this, for example.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user