[Bug 23851] Warhammer: Chaos Gate No sound outside of cutscenes

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 2 20:41:45 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=23851





--- Comment #6 from Raymond <superquad.vortex2 at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list