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 06-13-2009, 10:59 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Can Linux play mplayer on 2 hardware output (alsamixer -c X)?


Hello,

I have my sound card on alsamixer -c 0
and an headset on alsamixer -c 3

Since every morning I get the news from stream, I would like that it plays it (mplayer) on my device -c 0 and -c 3 at same time.

How could we make that with our Linux box?

thanks
--
In man it is only specified that one single alsa can be used. I may be wrong.

Last edited by frenchn00b; 06-14-2009 at 01:58 PM.
 
Old 06-14-2009, 05:26 AM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
man mplayer you lazy git

Code:
-ao <driver1[:suboption1[=value]:...],driver2,...[,]>
              Specify a priority list of audio output drivers to be used.

       If  the  list  has a trailing ',' MPlayer will fall back on drivers not
       contained in the list.  Suboptions are optional and can mostly be omit-
       ted.
       NOTE: See -ao help for a list of compiled-in audio output drivers.

       EXAMPLE:
                 -ao alsa,oss,
                      Try the ALSA driver, then the OSS driver, then others.
                 -ao alsa:noblock:device=hw=0.3
                      Sets  noblock-mode  and  the  device-name as first card,
                      fourth device.
 
  


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
mplayer doesn't play thelonius Linux - Software 1 08-19-2005 01:30 PM
can't play anything on mplayer!! blaze_wk Linux - Software 1 01-17-2004 04:49 PM
MPlayer output boomer Linux - Software 2 08-09-2003 05:52 AM

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

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