LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-26-2007, 11:34 PM   #1
Kupo
Member
 
Registered: Nov 2003
Location: Hell (AZ, USA)
Distribution: FC6/Centos
Posts: 87

Rep: Reputation: 15
Sound - Cannot play from multiple programs


Ive got a weird problem that with ALSA i cannot play from more than one program. after the first program has launched, ex XMMS, i can play fine, but as soon as i try playing any other type of sound media/file it fails.
im using Plantronics USB Gamecom Pro 1 headset with Mic
i also have built in audio on my motherboard which im not using
i ran the soundcard detection GUI in gnome and its using snd-usb-audio module, PCM Device set to USB Audio
any help with this issue would be appreciated
 
Old 04-27-2007, 04:13 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Sounds like a hardware issue. You may be able to work around the problem with something like dmix in your .asoundrc file. An example (that probably won't work, but might) of this same issue overcome with dmix is here:
http://alsa.opensrc.org/Intel8x0

I'm not familiar enough with how your hardware works to provide you an exact example, but hopefully that website will get you in the right direction.

Good luck!

Cool
 
Old 04-27-2007, 10:07 PM   #3
Kupo
Member
 
Registered: Nov 2003
Location: Hell (AZ, USA)
Distribution: FC6/Centos
Posts: 87

Original Poster
Rep: Reputation: 15
how do you setup dmix? and is this a hardware problem or driver problem? i have the latest version of alsa and it says it has dmix pre-configured according to the ALSA wiki.
 
Old 04-27-2007, 10:19 PM   #4
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
yes you are right ALSA says they have configured dmix BUT
given the numbers of people posting on the boards all of a suden about dmix not working properly
i have come to the conclusion that there is something dysfunctinal about the way their new dmix implementation is behaving (i thing) in relationship to certain apps or libraries. there (educated speculation) are timing issues with checking on devices causing dmix to fail.
The only thing i can think to do is just wait till they sort it out. I have noticed in their discusions that they are aware of problems. doesn't seem to be an easy way to override it or fix it on the user level right now.
 
Old 04-27-2007, 11:19 PM   #5
Kupo
Member
 
Registered: Nov 2003
Location: Hell (AZ, USA)
Distribution: FC6/Centos
Posts: 87

Original Poster
Rep: Reputation: 15
where do i find the dmix plugin for xmms?
 
Old 04-29-2007, 11:56 PM   #6
Kupo
Member
 
Registered: Nov 2003
Location: Hell (AZ, USA)
Distribution: FC6/Centos
Posts: 87

Original Poster
Rep: Reputation: 15
no one knows where? i cant find anywhere.. or is dmix included with the ALSA plugin with xmms?, also if this a known bug should i just wait for new version of alsa, or try to downgrade?
 
Old 04-30-2007, 02:13 AM   #7
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
Quote:
Originally Posted by Kupo
how do you setup dmix? and is this a hardware problem or driver problem? i have the latest version of alsa and it says it has dmix pre-configured according to the ALSA wiki.
I tried to read a bit more about this -- it seems dmix messes up some usb devices so i'm not sure it's turned on by default -- so lets at least try turning it on ;-)

try this as your ~/.asoundrc file
Code:
pcm.!default
{
type plug
slave.pcm mixer
}

pcm.mixer
{
type dmix
ipc_key 1024
slave
{
pcm "hw:0,0"
period_time 0
}
}

ctl.mixer
{
type hw
card 0
}
 
Old 04-30-2007, 02:38 AM   #8
Kupo
Member
 
Registered: Nov 2003
Location: Hell (AZ, USA)
Distribution: FC6/Centos
Posts: 87

Original Poster
Rep: Reputation: 15
should i create as root or user?
edit: i created file as my user account, no change

Last edited by Kupo; 04-30-2007 at 03:04 PM.
 
  


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
midi programs play but have no sound jeff_powell Linux - Software 5 11-04-2006 09:20 PM
multiple programs play sound(audio) simultaneously mikepol Debian 7 02-12-2006 01:32 PM
Multiple sound programs c_olin3404 Linux - Software 2 07-20-2005 07:14 AM
KDE blocks sound? cant play sound from other programs. Smurfen Linux - Hardware 1 04-02-2005 07:14 PM
sound from multiple programs at once denominator Linux - Newbie 5 11-04-2003 02:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:41 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