Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound mixing probs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
lokojones
Tux's lil' helper
Tux's lil' helper


Joined: 29 Feb 2004
Posts: 131
Location: Canary Islands, Spain.

PostPosted: Fri May 28, 2004 2:49 pm    Post subject: Sound mixing probs Reply with quote

I've got som problems with amsn.. I use an nForce2 mobo and for the sound I use the i8x0 alsa module... I posted some days ago the same problem, thinking that it was related to mixing...
The problem is that when I use amsn and other app the uses sound hw.. the sounds that amsn tries to play, wont play (Im using dmix, so I suppose amsn uses OSS to play its sounds) till I exit the app that uses the sound... then all the sounds that couldnt be played, are played all together...

It happens with more things, like Quake3 based games... I cant start quake3 while hearing music, it only starts when I stop the music..., but it doesnt happen when to apps use alsa, because of dmix (I can use xine and alsapalyer together with sound of both)

Can I enable software mixing for apps based on OSS??
_________________
Pure Gentoozo :)


Last edited by lokojones on Fri May 28, 2004 11:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
burger
n00b
n00b


Joined: 07 Mar 2004
Posts: 35
Location: Sweden

PostPosted: Fri May 28, 2004 10:04 pm    Post subject: Reply with quote

I have configured aMSN to use esdplay to play sounds... as sound or soundplay didn't work for me.
Back to top
View user's profile Send private message
lokojones
Tux's lil' helper
Tux's lil' helper


Joined: 29 Feb 2004
Posts: 131
Location: Canary Islands, Spain.

PostPosted: Fri May 28, 2004 11:29 pm    Post subject: Reply with quote

i've also tried esdplay.. just only to see if it worked, because I dont use esd :(
_________________
Pure Gentoozo :)
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sat May 29, 2004 12:20 am    Post subject: Reply with quote

hi, lokojones.

This is a software mixing problem.
When we use legacy OSS or now ALSA, they are the lowest sound layers
that can only play sound of one app at a time. It's said that if we want them
to mix multiple sounds we will need a soundcard which supports hw mixing.

However, we could use software mixing instead. ESD, arts, as you've heard,
they are higher layers that 'wrap' the OSS or ALSA, they provide us the
ability to do software mixing.

If we want to play sounds of multiple apps at a time, please make sure you
have all of these apps using ESD or arts (anything else? I only use ESD:)
as there sound output.

If one of those app uses OSS or ALSA, it will block all the other apps no
matter what they use. Quake3 seems to use OSS (or the OSS emulate of
ALSA, not so sure :p), that's why you have to stop xmms to get Quake3
work.

When using ESD, we could try to 'reroute' (man esddsp) sound to esd
if the app doesn't use esd, just try:

shell$ esddsp yourapp

Hope that helps:)
Back to top
View user's profile Send private message
lokojones
Tux's lil' helper
Tux's lil' helper


Joined: 29 Feb 2004
Posts: 131
Location: Canary Islands, Spain.

PostPosted: Sat May 29, 2004 10:29 am    Post subject: Reply with quote

But.. doesn't dmix do the same in a lower level?
I mean, in alsa level, because its just a config for alsa..
I've tried before esd ant artsd, and I can't get them work.. anyway, I've heard that arts causes some games to have problems with the sounds, playing sounds later than they should...
_________________
Pure Gentoozo :)
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sat May 29, 2004 11:27 am    Post subject: Reply with quote

Sorry, I don't know much about dmix and artsd, since I've been using esd all
the time, and it works fine for me :)

It seems that people some times complain about the artsd and have to kill it
to get some other sound apps work... AFAIK, esd automatically 'kills itself'
once we quit the app which uses it...
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Tue Jun 01, 2004 3:28 pm    Post subject: Reply with quote

yes, if you (eg) hit <tab> in Konsole, "artsd beeps" and then stays alive, blocking your default sound device as set in Control Center.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum