http://bugs.winehq.org/show_bug.cgi?id=23851
--- Comment #6 from Raymond superquad.vortex2@gmail.com 2010-08-02 20:41:44 --- (In reply to comment #5)
Created an attachment (id=29978)
--> (http://bugs.winehq.org/attachment.cgi?id=29978) [details]
Aplay log with wav files
#if SND_LIB_VERSION >= 0x010009 snd_pcm_hw_params_set_rate_resample(pcm, hw_params, 0); #endif
The winealsa.drv display resampling of default device "plug:dmix" , so the "default" device only support 48000Hz and it is incorrect to return DSCAPS_CONTINUOUSRATE
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 )
DSCAPS_CONTINUOUSRATE The device supports all sample rates between the dwMinSecondarySampleRate and dwMaxSecondarySampleRate member values. Typically, this means that the actual output rate will be within +/- 10 hertz (Hz) of the requested frequency.