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

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 2 01:31:24 CDT 2010


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





--- Comment #3 from Raymond <superquad.vortex2 at gmail.com>  2010-08-02 01:31:23 ---
fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling
mixer
fixme:mixer:ALSA_MixerInit No master control found on Logitech USB Headset,
disabling mixer
fixme:mixer:ALSA_MixerInit No master control found on QuickCam Pro 9000,
disabling mixer
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
trace:dsound:DirectSoundDevice_Create (0x32f164)
trace:dsound:DSOUND_ReopenDevice (0x1a6010, 0)
trace:dsalsa:wodDsCreate driver created
trace:dsalsa:IDsDriverImpl_GetDriverDesc (0x1a5df0,0x1a6028)
trace:dsalsa:IDsDriverImpl_Open Success
trace:dsalsa:IDsDriverImpl_GetCaps (0x1a5df0,0x1a6254)
trace:dsound:DSOUND_PrimaryCreate (0x1a6010)
trace:dsound:DSOUND_PrimaryOpen (0x1a6010)
trace:dsalsa:IDsDriverImpl_CreateSoundBuffer (0x1a5df0,0x1a5c88,1,0)
warn:dsalsa:SetFormat Could not set sound rate to 44100, but instead to 48000
trace:dsalsa:DSDB_CreateMMAP mmap'd buffer is an ALSA type 14 buffer


type 14 is "plug" plugin , this seem that you are not using pulseaudio 

How about output of "aplay -v /usr/share/sounds/*.wav" ?


    err = snd_pcm_hw_params_set_rate_near(pcm, hw_params, &rate, NULL);
    if (err < 0) { rate = pwfx->nSamplesPerSec; WARN("Could not set rate\n");
goto err; }

    if (!ALSA_NearMatch(rate, pwfx->nSamplesPerSec))
    {
        WARN("Could not set sound rate to %d, but instead to %d\n",
pwfx->nSamplesPerSec, rate);
        pwfx->nSamplesPerSec = rate;
        pwfx->nAvgBytesPerSec = rate * pwfx->nBlockAlign;
    }


is it correct for winealsa.drv to use DSCAPS_CONTINUOUSRATE if the alsa device
only support 48000Hz ( seem does not support 44100Hz and 22050Hz
DSOUND_PrimarySetFormat  )





warn:dsound:DirectSoundDevice_SetCooperativeLevel level=DSSCL_PRIORITY not
fully supported
trace:dsound:IDirectSound_IDirectSound_CreateSoundBuffer
(0x1a6d20,0x32f138,0x32f134,(nil))
trace:dsound:DirectSoundDevice_CreateSoundBuffer
(0x1a6010,0x32f138,0x32f134,(nil))
trace:dsound:DirectSoundDevice_CreateSoundBuffer (structsize=20)
trace:dsound:DirectSoundDevice_CreateSoundBuffer (flags=0x00000001:
trace:dsound:_dump_DSBCAPS DSBCAPS_PRIMARYBUFFER )
trace:dsound:DirectSoundDevice_CreateSoundBuffer (bufferbytes=0)
trace:dsound:DirectSoundDevice_CreateSoundBuffer (lpwfxFormat=(nil))
warn:dsound:DirectSoundDevice_CreateSoundBuffer Primary Buffer already created
trace:dsound:PrimaryBufferImpl_AddRef (0x1a6d58) ref was 1
trace:dsound:PrimaryBufferImpl_SetFormat (0x1a6d58,0x32f18c)
trace:dsound:DSOUND_PrimarySetFormat (0x1a6010,0x32f18c)
trace:dsound:DSOUND_PrimarySetFormat
(formattag=0x0001,chans=1,samplerate=22050,bytespersec=44100,blockalign=2,bitspersamp=16,cbSize=33354)
trace:dsalsa:IDsDriverBufferImpl_SetFormat (0x1a5e08, 0x1a6d38)
warn:dsalsa:SetFormat Could not set sound rate to 22050, but instead to 48000
trace:dsalsa:DSDB_CreateMMAP mmap'd buffer is an ALSA type 14 buffer


There are many warning messages

warn:dsalsa:IDsDriverBufferImpl_Lock mmap_pos (7008) != writepos (1888) not
locking data!

-- 
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