LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-25-2003, 08:47 AM   #1
rsnic
LQ Newbie
 
Registered: Jun 2003
Location: Auckland, NZ
Distribution: Fedora Core 4
Posts: 10

Rep: Reputation: 0
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.
 
Old 06-25-2003, 09:20 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 06-25-2003, 11:01 PM   #3
rsnic
LQ Newbie
 
Registered: Jun 2003
Location: Auckland, NZ
Distribution: Fedora Core 4
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 06-26-2003, 05:35 AM   #4
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

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

Code:
        pcm.emu10k1 {
           type hw
           card 0
        }
                                                                                
        ctl.emu10k1 {
           type hw
           card 0
        }
 
Old 06-26-2003, 05:51 AM   #5
rsnic
LQ Newbie
 
Registered: Jun 2003
Location: Auckland, NZ
Distribution: Fedora Core 4
Posts: 10

Original Poster
Rep: Reputation: 0
Mines the same except different driver. Doesn't have that "code:" bit though.
 
Old 06-26-2003, 06:40 AM   #6
rsnic
LQ Newbie
 
Registered: Jun 2003
Location: Auckland, NZ
Distribution: Fedora Core 4
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot play sound from different sources at the same time with ALSA mrosati Linux - Software 2 09-21-2005 05:04 PM
Can't play more than one sound at a time boyakasha Linux - Software 3 04-18-2005 06:40 PM
sound can only play 1 stream at a time bobbens Debian 8 01-20-2005 11:52 AM
Alsa drivers cannot play mor than one sound at a time rsnic Linux - Distributions 0 06-24-2003 11:36 PM
unable to play more than one sound file at a time. wonka_vision Linux - Hardware 2 06-10-2003 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration