Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-08-2004, 09:46 AM   #1
LQ Newbie
Registered: Jul 2004
Location: UK
Distribution: lots
Posts: 9

Rep: Reputation: 0
Unhappy ALSA sound only working with one application at a time

Need some help!!

I have a C-Media 8738 sound card running on Fedora Core 2 (kernel 2.6.5) and every thing work fine other than i'm running a voice over IP app (TeamSpeak) which again works great but when it's running I don't get sound from any other application.

I have been told the following the any app i want to work with sound out after starting TeamSpeak:


echo "<app name> 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "<app name> 0 0 disable" > /proc/asound/card0/pcm0c/oss

This should prevent the sound input and just enable sound out, however this make no difference.

Am i right in saying alsa sound drivers only allow a single process/appliction to captuer sound at any one time?
Old 03-01-2013, 11:29 AM   #2
Registered: Apr 2011
Distribution: slackware64-current
Posts: 345

Rep: Reputation: 37
I have this issue, too, ever since I updated to KDE 4.9 (I have 4.10 now). Only one application can play audio at a time.
Old 05-08-2013, 08:27 PM   #3
Registered: Apr 2011
Distribution: slackware64-current
Posts: 345

Rep: Reputation: 37
No one else here has this issue?
Old 05-08-2013, 09:06 PM   #4
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,628

Rep: Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948
Originally Posted by Geremia View Post
No one else here has this issue?
Assuming you're using Slackware:
1 members found this post helpful.
Old 05-09-2013, 05:30 PM   #5
Registered: Apr 2011
Distribution: slackware64-current
Posts: 345

Rep: Reputation: 37
Originally Posted by dugan View Post
Yes, I'm using Slackware, so I commented out all instances of load_alsa_oss_modules and this in rc.alsa:
# A function to load the ALSA OSS compat modules:                                                                             
# load_alsa_oss_modules() {                                                                                                   
#   if modprobe -c | tr _ - | grep -wq snd-pcm-oss ; then                                                                     
#     if ! cat /proc/modules | tr _ - | grep -wq snd-pcm-oss ; then                                                           
#       echo "Loading OSS compatibility modules for ALSA."                                                                    
#       modprobe snd-pcm-oss                                                                                                  
#       modprobe snd-seq-oss                                                                                                  
#       modprobe snd-mixer-oss                                                                                                
#     fi                                                                                                                      
#   fi                                                                                                                        
# }
Yet, I still can't mix multiple applications' sound together. (I've rebooted and everything.)

E.g., if I try playing audio in two difference instances of VLC, VLC gives me an error about how the "default" audio device cannot be used because the device or resource is busy.

Last edited by Geremia; 05-09-2013 at 05:51 PM.
Old 05-12-2013, 02:58 AM   #6
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 785
Blog Entries: 3

Rep: Reputation: 275Reputation: 275Reputation: 275
I regularly run games + Teamspeak or Mumble with no issues. Slackware64 14.0 with CL Audigy. I don't don't have a ~/.asoundrc, rc.alsa is untouched. I did have some goofiness since my Nvidia GPU has HDMI w/ audio so I blacklisted that module. I set alsamixer up, use 'alsactl store'
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
# Don't load HDMI sound from the Nvidia GPU card
blacklist snd_hda_intel
The only "glitch" is that I have to start TS or Mumble after starting any WINE programs if I want TS and Mumble to have audio in/out during game audio (weird WINE issue).

You can use 'aplay -L' and 'speaker_test' to find/test the output channels. Also, audacity is a good tool to see what channels are doing what. You will need to check the links provided earlier in this thread for software mixing if your C-Media chip has trouble or can't perform hardware mixing by default (duplex and/or dmix) (Its been a long time since I used anything other that Soundblaster or Intel audio in Linux).

You may also want to check out this:


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
ALSA not working for Creative Sound Blaster Live 24 Bit sound card vishalsonu Linux - Hardware 7 08-20-2005 02:02 PM
ALSA, only one sound at a time Icetec Linux - Newbie 10 06-22-2005 04:29 AM
Sound only works with one application at a time cspos Linux - General 3 06-14-2005 04:06 AM
ALSA sound: One output at a time :( Erik Plaggenmar Linux - Software 4 10-09-2004 05:12 AM
ALSA sound on more than one app at a time ElPuello Linux - Hardware 4 09-06-2004 06:25 AM > Forums > Linux Forums > Linux - Software

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

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