diff options
author | Chris Robinson <[email protected]> | 2014-11-25 22:20:00 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-11-25 22:20:00 -0800 |
commit | bdbf6613ef4d57f15f5e7e3cbc31211a0c57e575 (patch) | |
tree | 298b76ea7a08d4625deca17ec41db90635dae956 /Alc/backends/pulseaudio.c | |
parent | be476b372993647376de5d6133bd37e7fa77df17 (diff) |
Support B-Format output with the wave file writer
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r-- | Alc/backends/pulseaudio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index 783ed3ce..7ad7dd18 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -956,6 +956,9 @@ static ALCboolean ALCpulsePlayback_reset(ALCpulsePlayback *self) case DevFmtMono: mapname = "mono"; break; + case DevFmtBFormat3D: + device->FmtChans = DevFmtStereo; + /*fall-through*/ case DevFmtStereo: mapname = "front-left,front-right"; break; |