http://bugs.winehq.org/show_bug.cgi?id=13046
--- Comment #32 from Raymond superquad.vortex2@gmail.com 2010-10-15 20:34:03 CDT --- trace:dsound:DirectSoundDevice_GetCaps (flags=0x00000f5f: trace:dsound:_dump_DSCAPS DSCAPS_PRIMARYMONO DSCAPS_PRIMARYSTEREO DSCAPS_PRIMARY8BIT DSCAPS_PRIMARY16BIT DSCAPS_CONTINUOUSRATE DSCAPS_CERTIFIED DSCAPS_SECONDARYMONO DSCAPS_SECONDARYSTEREO DSCAPS_SECONDARY8BIT DSCAPS_SECONDARY16BIT )
trace:dsound:PrimaryBufferImpl_Create (formattag=0x0001,chans=2,samplerate=48000,bytespersec=192000,blockalign=4,bitspersamp=16,cbSize=0) trace:dsound:PrimaryBufferImpl_AddRef (0x49f0c08) ref was 0 trace:dsound:PrimaryBufferImpl_SetFormat (0x49f0c08,0x32fd04) trace:dsound:DSOUND_PrimarySetFormat (0x6f90090,0x32fd04) trace:dsound:DSOUND_PrimarySetFormat (formattag=0x0001,chans=2,samplerate=48000,bytespersec=192000,blockalign=4,bitspersamp=16,cbSize=0)
The application opened 23 software secondary buffers with different rates , mono/stereo , 16 bits
trace:dsound:_dump_DSBCAPS DSBCAPS_LOCSOFTWARE DSBCAPS_CTRLFREQUENCY DSBCAPS_CTRLPAN DSBCAPS_CTRLVOLUME DSBCAPS_CTRLPOSITIONNOTIFY DSBCAPS_GETCURRENTPOSITION2 )
mono, 48000, 16bits stereo, 48000, 16bits mono, 24000, 16bits mono, 28000, 16bits mono, 9000, 16bits mono, 6000, 16bits mono, 32000, 16bits mono, 6750, 16bits mono, 10000, 16bits mono, 15000, 16bits
so winealsa.drv need to mix those 23 software secondary buffers into the primary hardware buffer running at 48000Hz stereo 16 bits