LinuxQuestions.org
Help answer threads with 0 replies.
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 01-15-2011, 03:00 PM   #1
apenguinet
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Rep: Reputation: 0
redirecting ALL audio output


So I have a DAC/Headphone Amplifier which plugs in through USB. Through the system settings I'm able to set it as the preferred audio output option. This makes all the windows manager sounds come through the headphones, but all the applications still come through the laptop speakers; i guess they are completely independent of the system settings. I have to set each application's output preferences separately, and some software (like Firefox) doesn't have any output preferences. So is there a way to redirect the audio output of all applications to all come through the USB DAC?

I'm running Slackware64 13.1 on a Thinkpad T410. Thanks for any help.
 
Old 01-16-2011, 06:21 AM   #2
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
depends on what "audio strategy" you use (that's how I call the sound mess under linux). Pulseaudio ? Pure alsa ?
With pulse it should work through the dialog in the system settings.
With alsa type

asoundconf set-default-card xxx

where xxx is the description of the card you want. To see which ones you have available type

asoundconf list
 
Old 01-17-2011, 10:29 PM   #3
apenguinet
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 0
I'm using ALSA but I don't have a command called asoundconf. Is there somewhere I can get it?
 
Old 01-18-2011, 03:51 AM   #4
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
Hi,

asoundconf was removed from alsa-utils package.
I have attached the files because I don't know anymore where I downloaded them (I think ist was the blog of some ubuntu dev).

asoundconf is a python script, remove the .txt extension, copy to /usr/bin and make it executable.
asoundconf.1 is the manpage
asoundconf-gtk is a frontend for switching soundcards, you don't necessarily need that.
Attached Files
File Type: txt asoundconf.txt (11.1 KB, 5 views)
File Type: txt asoundconf-gtk.txt (6.6 KB, 5 views)
File Type: txt asoundconf.1.txt (2.3 KB, 5 views)
 
Old 01-19-2011, 02:27 AM   #5
apenguinet
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 0
thanks so much for help i probably wouldn't have been able to work out on my own. i'm surprised that such functionality is no longer included.
 
  


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
[SOLVED] Redirecting output from stderr mwilner Linux - Newbie 5 12-02-2010 07:25 AM
redirecting audio output botnet Slackware 3 12-11-2009 11:28 AM
A little help with redirecting output tybalt Linux - Newbie 1 08-04-2007 10:08 PM
redirecting output using > cmk77 Slackware 8 11-10-2006 02:08 AM
Redirecting mplayer output driptray Linux - Software 1 10-12-2004 07:42 AM

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

All times are GMT -5. The time now is 03:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration