sound problems

Questions about Wine on Linux
Locked
Watain
Newbie
Newbie
Posts: 2
Joined: Thu Aug 02, 2012 5:38 pm

sound problems

Post by Watain »

Hello everyone,

I don't know if the following issue has allready been posted but I coudln't find andy solution as of yet after searching several sides.

I have installed Wine 1.3.28 from the official Ubuntu 11.10 repos on my AMD64. Formerly I userd pulseaudio as installed per default by Ubuntu. Than I uninstalled pulse and now I'm running ALSA. Thins is: Sound works fine even ingame (Falcon 4: Allied Force) in the menus until I start the 3D game. There is no sound at all. I checked via winetricks that alsa in use. One the Audio tab of winecfg I set everything as per default. Now: If I set hardware support in the Audio tab to "Full" than I get sound at least in the menus if the game. If I set hardware support to "emulate" I get sound at least in the menus but nothing ingame.
I even tested the newest wine version via the ppa repos and had the same results.

Does anyone have an explanation or an idea about that?
Watain
Newbie
Newbie
Posts: 2
Joined: Thu Aug 02, 2012 5:38 pm

Re: sound problems

Post by Watain »

Okay, here you go:

After reinstalling pulse and deleting my .asoundrc I got the complete sound. :?
Could there be something wrong with my .asoundrc that wine prefers pulse over alsa?

Code: Select all

pcm.snd_card {
        type hw
        card 0
        device 0
}

ctl.snd_card {
        type hw
        card 0
        device 0
}

pcm.dmixer {
    type dmix
    ipc_key 1024
    ipc_perm 0666
    slave.pcm "snd_card"
    slave {
        period_time 0
        period_size 1024
        buffer_size 4096
        rate 44100
        channels 2
    }
    bindings {
        0 0
        1 1
    }
}

pcm.dsnooper {
    type dsnoop
    ipc_key 2048
    ipc_perm 0666 
    slave.pcm "snd_card"
    slave 
    {
        period_time 0
        period_size 1024
        buffer_size 4096
        rate 44100
        channels 2
    }
    bindings {
        0 0
        1 1
    }
Locked