LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-08-2006, 02:06 AM   #1
shadout
LQ Newbie
 
Registered: Jun 2005
Distribution: Suse
Posts: 9

Rep: Reputation: 0
having 2 application using sound at the same time


Hi everybody,

I try to be able to play a movie with mplayer while amarok or xmms is on, without to have to quit the mp3 player.

I've bee able to do that with artsd, but it crashes all the time so it's not a very good solution. I've read somewhere that this can be done trough alsa with a plugin called dmix. But I can't figure how ?


I've a soundblaster live 24bit and suse10.

Thank you, this would be very helpful.

Shadout
 
Old 02-08-2006, 08:33 PM   #2
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
try setting the sound to different servers, ie. keep mplayer on oss, put xmms on arts, amorok on alsa

or put as many on one as you can until you figure out which one is best.

the alternatives are probably compile everything connected with sound.

i never heard of dmix, is it a new server for sound?
 
Old 02-08-2006, 08:40 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Alsa works fine for me on various distros. Dmix is enabled by default in recent versions of alsa.
 
Old 02-09-2006, 12:48 AM   #4
shadout
LQ Newbie
 
Registered: Jun 2005
Distribution: Suse
Posts: 9

Original Poster
Rep: Reputation: 0
Hi,

Do you know if dmix works with some specific soundcards ?

I'll allready have the last version of alsa. Did it work with the rpm provided by suse, or did you recompile alsa ?

Thanks
 
Old 02-09-2006, 12:54 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by shadout
Hi,

Do you know if dmix works with some specific soundcards ?

I'll allready have the last version of alsa. Did it work with the rpm provided by suse, or did you recompile alsa ?

Thanks
It just works out of the box. I have 3 installations of Suse, one using an SB Live Card, one with a SIS 7012 and another with some intel card (laptop) and I can play media from various sources. I tend to install only alsa and the xine engine for amarok and kaffeine.
 
Old 02-09-2006, 12:56 AM   #6
shadout
LQ Newbie
 
Registered: Jun 2005
Distribution: Suse
Posts: 9

Original Poster
Rep: Reputation: 0
just to be sure I'm not doing this wrong.

You just launch amarok with xine-engine using alsa.

And then mplayer -ao alsa XXXX.avi.

Right ?

Thanks again
 
  


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
ALSA sound only working with one application at a time squat001 Linux - Software 5 05-12-2013 01:58 AM
Need a time card application rsmccain General 0 10-26-2005 10:52 AM
Sound only works with one application at a time cspos Linux - General 3 06-14-2005 03:06 AM
signal 11error every time an application closes Siriond Linux - Software 3 08-29-2004 11:13 PM
getting the time in C/C++ in a terminal application Error1312 Programming 3 02-24-2004 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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