LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-15-2004, 01:48 PM   #1
yellowchicken
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Sound Mixer


Hi
I'm using Mandrake 10.1 Comunity
I wonder how to make multiple applications use the sound card at the same time.
Like listen to music and play games at the same time.
Thanks
 
Old 11-15-2004, 07:01 PM   #2
zajelo3
Member
 
Registered: Mar 2004
Location: Central Florida
Distribution: Gentoo & Fedora
Posts: 153

Rep: Reputation: 30
What kind of sound card do you have?
 
Old 11-15-2004, 07:34 PM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
There are "low level" kernel drivers and there are application level drivers for the sound card.

The latter (such as Alsa/Arts) grab the device and provide a software interface to the applications which want to output sound.

So if you configure KDE and XMMS (as well as other programs) to use ALSA they can all share the sound device at the same time even when the sound card does not support this (which many poorer quality ones do not...).

By setting Xine or Kaffeine to use Alsa/Arts, I can watch a movie, listen to MP3's and hear the system events, etc. on the same sound output device w/o problems.

If however XMMS is set to use /dev/dsp directly, etc. you'll find that only one application can output sound at a time.
 
Old 11-15-2004, 08:37 PM   #4
yellowchicken
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Original Poster
Rep: Reputation: 0
actually ALL of my apps are like this: when one use sound card, noone else can use. even system sound.
How can I set to ALSA?
I ran draksound:
"Your card is currently using the ALSA "snd-intel8x0" driver (default driver for your card is "snd-intel8x0")
 
Old 11-15-2004, 10:53 PM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
In KDE tell it to lanch the sound server and do not use any external application to play back wave files for system events.

In XMMS tell it to use Arts (which uses Alsa) for output.

You can also do likewise for Xine and other programs.

Once done, they can all share the one sound output device w/o problems.
 
  


Reply



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
Couldn't open mixer device /dev/sound/mixer laurentwahl Linux - General 8 05-17-2005 08:15 PM
couldn't open mixer device /dev/sound/mixer pitts68 Linux - Newbie 4 11-15-2004 08:03 AM
Couldn't open mixer device /dev/sound/mixer arctic123 Linux - Newbie 4 09-22-2004 09:39 AM
couldn't open mixer device /dev/sound/mixer wangcity Linux - General 8 02-01-2004 07:17 AM
Couldn't open mixer device /dev/sound/mixer Dabria Linux - Hardware 2 07-29-2003 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:59 AM.

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