aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/mmdevapi.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-25 22:20:00 -0800
committerChris Robinson <[email protected]>2014-11-25 22:20:00 -0800
commitbdbf6613ef4d57f15f5e7e3cbc31211a0c57e575 (patch)
tree298b76ea7a08d4625deca17ec41db90635dae956 /Alc/backends/mmdevapi.c
parentbe476b372993647376de5d6133bd37e7fa77df17 (diff)
Support B-Format output with the wave file writer
Diffstat (limited to 'Alc/backends/mmdevapi.c')
-rw-r--r--Alc/backends/mmdevapi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c
index e79122af..95a0948c 100644
--- a/Alc/backends/mmdevapi.c
+++ b/Alc/backends/mmdevapi.c
@@ -816,6 +816,9 @@ static HRESULT ALCmmdevPlayback_resetProxy(ALCmmdevPlayback *self)
OutputType.Format.nChannels = 1;
OutputType.dwChannelMask = MONO;
break;
+ case DevFmtBFormat3D:
+ device->FmtChans = DevFmtStereo;
+ /*fall-through*/
case DevFmtStereo:
OutputType.Format.nChannels = 2;
OutputType.dwChannelMask = STEREO;