[Ubuntu 8.04][Audio+Games]No sound if I'm listening to music

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
saffolino
Level 1
Level 1
Posts: 6
Joined: Tue Apr 29, 2008 8:04 am

[Ubuntu 8.04][Audio+Games]No sound if I'm listening to music

Post by saffolino »

Hi! I have a problem.If I want to play quake 3 in wine (RC2) while listening to music with rhythmbox, q3 has no sound.If rhythmbox is closed q3 works fine, so I guess rhythmbox keeps busy the device.. there's a way to listen and play in the same time?[/i]
Chad
Level 2
Level 2
Posts: 35
Joined: Wed Feb 27, 2008 3:17 pm

Post by Chad »

This is because of pulseaudio. I had the same issue. Try the following command from a terminal...

pkill pulseaudio

Then it should work ok (At least it did for me).
saffolino
Level 1
Level 1
Posts: 6
Joined: Tue Apr 29, 2008 8:04 am

Post by saffolino »

Yes, it works. Thanks!

EDIT:

don't kill the process just set ALSA as default audio in System->Preferences->Audio
jrinsa
Newbie
Newbie
Posts: 1
Joined: Mon May 26, 2008 6:32 pm

Alternate solution

Post by jrinsa »

I was able to get this working by adding "padsp" to my launcher.. so this

env WINEPREFIX="/home/username/.wine" wine "C:\Program Files\Sling Media\SlingPlayer\SlingPlayer.exe"

became this

padsp env WINEPREFIX="/home/username/.wine" wine "C:\Program Files\Sling Media\SlingPlayer\SlingPlayer.exe"

I saw this solution somewhere else, -lost the link-not sure why or how this work, I vaguely remember something about that it creates PulseAudio Virtual OSS device. Hope this helps someone..
Sleaka J
Level 2
Level 2
Posts: 29
Joined: Wed Feb 27, 2008 7:43 am

Re: Alternate solution

Post by Sleaka J »

jrinsa wrote:I was able to get this working by adding "padsp" to my launcher.. so this

env WINEPREFIX="/home/username/.wine" wine "C:\Program Files\Sling Media\SlingPlayer\SlingPlayer.exe"

became this

padsp env WINEPREFIX="/home/username/.wine" wine "C:\Program Files\Sling Media\SlingPlayer\SlingPlayer.exe"

I saw this solution somewhere else, -lost the link-not sure why or how this work, I vaguely remember something about that it creates PulseAudio Virtual OSS device. Hope this helps someone..
The "padsp" command works similarly to the "aoss" command to force oss programs to use the alsa sound system, but still think it's using oss.
Locked