Philipp Middendorf : dsound: Handle 8 channel audio input.
Alexandre Julliard
julliard at winehq.org
Thu Apr 7 11:16:41 CDT 2011
Module: wine
Branch: master
Commit: f5721560f5530513feeed681b8303749a7bbab98
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f5721560f5530513feeed681b8303749a7bbab98
Author: Philipp Middendorf <pmidden at gmx.net>
Date: Wed Apr 6 18:06:57 2011 +0200
dsound: Handle 8 channel audio input.
---
dlls/dsound/mixer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c
index 846278e..5ed8d90 100644
--- a/dlls/dsound/mixer.c
+++ b/dlls/dsound/mixer.c
@@ -295,6 +295,7 @@ static inline void cp_fields(const IDirectSoundBufferImpl *dsb, const BYTE *ibuf
if (device->pwfx->nChannels == dsb->pwfx->nChannels ||
(device->pwfx->nChannels == 2 && dsb->pwfx->nChannels == 6) ||
+ (device->pwfx->nChannels == 8 && dsb->pwfx->nChannels == 2) ||
(device->pwfx->nChannels == 6 && dsb->pwfx->nChannels == 2)) {
dsb->convert(ibuf, obuf, istride, ostride, count, freqAcc, adj);
if (device->pwfx->nChannels == 2 || dsb->pwfx->nChannels == 2)
More information about the wine-cvs
mailing list