-   Linux - Hardware (
-   -   Alsa drivers cannot play more than one sound at a time (

rsnic 06-25-2003 08:47 AM

Alsa drivers cannot play more than one sound at a time
Alsa drivers cannot play more than one sound at a time

Im running redhat 9 with 2.4.20-18.9, have nforce motherboard. Running alsa drivers (.94) I compiled my self. The sound works sweet as, but I can only play one sound at a time.
e.g. If im playing a music through xmms with the alsa .9 plugin and I start a movie the movie will not start playing until I press stop on xmms, then it runs. Basically it locks the program till the sound card is free. It cannot play sound from two programs at once.
Can anyone help me with this? This happens with any program e.g. videolan, mplayer, xine, so I assume the driver is not set correctly.

Electro 06-25-2003 09:20 PM

You need to create virtual channels. Go to ALSA site and find information about asoundrc file. There you can make as many channels as you like but not greater than the maximum channels of the device.

rsnic 06-25-2003 11:01 PM

Read about the .rcsound file, apparently its something to do with mixer. Tried putting what it said into the .rcsound file but it still does it, used dmix setting.

neenee 06-26-2003 05:35 AM

i have a file called ~/.asoundrc, which containts the following:


        pcm.emu10k1 {
          type hw
          card 0
        ctl.emu10k1 {
          type hw
          card 0

rsnic 06-26-2003 05:51 AM

Mines the same except different driver. Doesn't have that "code:" bit though.

rsnic 06-26-2003 06:40 AM

What driver do you use when playing through programs? If I use esd it works sweet from multiple sources but the alsa driver doesn't. The only problem is after a while I get static though the speakers

All times are GMT -5. The time now is 10:50 AM.