LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-05-2004, 02:07 PM   #1
ElPuello
Member
 
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44

Rep: Reputation: 15
ALSA sound on more than one app at a time


Hey,

I'm using gentoo and KDE. I want to make my sound card be able to play sounds for more than one app at a time(e.g. both XMMS and video). I know my sound card can do this, because in windows, I have no problems. Does anyone know how to set this up??

Regards
 
Old 09-05-2004, 02:46 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
you need a sound daemon... personally, i use esound on my slackware box...

operation is simple: once installed, set your apps to use esound for output... esound will merge all the input it gets and it will feed it to alsa... you can tell kde to use esound in the control center, at regular user-level... it's easy for other apps also.. like xmms, for example (Options | Preferences | Audio I/O Plugins)...


Last edited by win32sux; 09-05-2004 at 02:50 PM.
 
Old 09-05-2004, 04:10 PM   #3
ElPuello
Member
 
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44

Original Poster
Rep: Reputation: 15
Thx win32sux,

I didn't use esound because its a native gnome thing, and I'm using kde, so I went for arts - works like a charm! (Tried to use JACK but it didn't work out). Your advice led me on the path of light Thx again
 
Old 09-05-2004, 04:30 PM   #4
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally posted by ElPuello
Thx win32sux,

I didn't use esound because its a native gnome thing, and I'm using kde, so I went for arts - works like a charm! (Tried to use JACK but it didn't work out). Your advice led me on the path of light Thx again
you're very welcome, i'm glad i could help...

ps: esound is not a "native gnome thing"...

=)
 
Old 09-06-2004, 05:25 AM   #5
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Using esound or arts is ok if you have a very fast system. Sometimes esound and arts screws up your computer. ALSA has a way to mix multiple sound requests into one. You just need to make or edit ~/.asoundrc. Look at the ALSA wiki documentation on dmix. It give you an example how dmix can be used. Almost every program supports ALSA. I never had a use for dmix because my sound card can handle multiple sounds at once in hardware.
 
  


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
Alsa Debian Sound in more than one app noteventime Linux - Software 3 08-16-2005 06:14 PM
ALSA, only one sound at a time Icetec Linux - Newbie 10 06-22-2005 03:29 AM
Sound only plays from one app at a time h8trix Linux - Hardware 4 05-31-2005 01:50 AM
ALSA sound: One output at a time :( Erik Plaggenmar Linux - Software 4 10-09-2004 04:12 AM
Sound trouble - only works with one app at a time Zero-0-Effect Slackware 10 11-27-2003 01:12 AM


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

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