You are not logged in.

#1 2008-05-24 19:39:44

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Multiple programs playing sound

I'm having a problem with multiple sounds playing at once. I guess it's not really a problem... more of an inconvenience.

I'm trying to setup awesome, and I can't play music and watch mplayer at the same time. Why would I want to do that? I have no idea, but I want to be able to tongue
I just booted into KDE, and there isnt a problem, I can have amarok, mpd, and mplayer all playing things at the same time. I'm guessing this has to do with the arts server in kde? How would one go about having it work in awesome? I've read the wiki about multiple sounds playing at once, but that didn't help.

Offline

#2 2008-05-25 01:22:58

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: Multiple programs playing sound

I'm using kde without arts and I can play sounds simultaneously fine.
Maybe you are trying to play through oss?

try: mplayer -ao alsa filename
mplayer -ao alsa otherfile

Offline

#3 2008-05-25 07:06:50

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: Multiple programs playing sound

Actually that probably is the problem... I noticed that mplayer was using oss to play files. But mpd uses alsa, so shouldnt they be able to co-mingle?

UPDATE: That fixed it! Weird that mplayer would use alsa by default in kde and oss by default here? Just one more question, is there a way to set mplayer's default to alsa?

Last edited by heleos (2008-05-25 07:09:09)

Offline

#4 2008-05-25 09:50:20

dawn
Member
Registered: 2008-01-15
Posts: 51

Re: Multiple programs playing sound

heleos wrote:

Just one more question, is there a way to set mplayer's default to alsa?

Add

ao=alsa

to ~/.mplayer/config.

Offline

Board footer

Powered by FluxBB