Comment 46 for bug 344588

Revision history for this message
In , Raymond (superquad-vortex2) wrote :

(In reply to comment #43)
> (In reply to comment #41)
 > patch:
> >
> > 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)
>
> Committed:
> http://source.winehq.org/git/wine.git/commit/f5721560f5530513feeed681b8303749a7bbab98
>
> thanks!

Is wine implement dsound.vxd or dsound WDM ?

since dsound.vxd does not support 8 channels or float

dsound WDM , KMixer is responsible for resampling