LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-10-2004, 10:03 PM   #1
duzhenhuan
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
how can multi program share one sound card


i'm using Debian ,gnome 2.4 with esd
alsa drivers 1.0.3 with utils and libs
onboard sound controller:intel845 82801BA ,ac97 realtek ALC650
i can user the mixer and tune the sound
but only one program can user the /dev/dsp at the same time
so how can i make serveral program using sound device at the same time?
 
Old 04-11-2004, 08:05 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
There are two ways around this. Method one is the dmixer plugin for ALSA. Have a look at the ALSA WIKI and it gives pretty good instructions there. The drawback is that it only works for ALSA-aware apps (like mplayer or xmms). Programs with OSS output will claim exclusive access to you sound card as before.

Method two is employing the use of a sound server. Some sound servers include esd, arts, yiff and jack. Of these, jack is the highest quality and lowest latency but I think it may not be supported by some programs. From what I've been told, arts is very bad and a good thing to stay away from. It is, however very widely supported.
 
  


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
samba file share in multi coding chungchungip Linux - Software 4 09-13-2005 09:43 AM
Sound card be occupied by only one program at a time hqking Linux - Hardware 2 05-02-2005 03:13 AM
How do you change card# of multi multi-media cards. Nichole_knc Slackware 3 12-01-2004 12:49 PM
Program for audio recording editing via sound card BACTRATE Mandriva 2 04-16-2004 10:58 AM
How do I share Netscape Mail on a multi-boot laptop? bbeers Linux - Software 6 07-07-2003 04:17 AM


All times are GMT -5. The time now is 08:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration