LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-10-2007, 11:31 PM   #1
bezeek
LQ Newbie
 
Registered: Nov 2006
Posts: 18

Rep: Reputation: 0
Mapping audio output with ALSA


Hi,

I'm trying to configure a system with fully-working audio to allow the use of a VoIP soft phone (Twinkle.) I ran out tonight and purchased a standard headset which connects to the audio jacks on my CA0106 (Creative Labs SB Audigy Live! 24-bit) sound card. I plugged it in to my PC's front audio jacks, and with no further configuration my music was playing both over my speakers and my headset. Also, both the headset microphone and my in-monitor microphone were active.

What I want to do now is limit the headset to only interact with Twinkle. That is, I don't want my music playing through my headset, and I don't want my phone calls coming out of my floor speakers. In any event, I'm just dropping the in-monitor mic, so that's not a problem.

Is there a simple way to configure my system so that any output from Twinkle goes straight to a certain jack on my PC, i.e. Line Out?

Any feedback or even questions will be appreciated.

Thanks,
Brian
 
Old 09-11-2007, 03:47 AM   #2
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
just brainsorming so don't expect it to work.

there might be a remote chance of doing it if you can figure out a subdevice number for the line out.

if you can then you can build a hw plugin using you .asoundrc for the subdevice.

http://www.alsa-project.org/alsa-doc...m_plugins.html

then reference that hw name in the command starting the phone software.

might need another hw plug for everything else.

there is also a plugin "Route" that might do it ?

there also might be a way to use a sound server to help. like jack, where you have the use of plugins and the ability to connect things ??

Its going to be a hard one to figure out.

good luck
 
Old 09-11-2007, 02:41 PM   #3
bezeek
LQ Newbie
 
Registered: Nov 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for your ideas, studioj. I Googled a few of your suggestions and finally came up with an old list post asking a question similar to mine. One of the responses involved invoking aplay -L from the alsa-utils package.

aplay -L lists all PCM devices, which can be used as the device name in any ALSA-aware program with the syntax plug:<PCM>. Listings for my card included default, front, rear, center_lfe, side, and surround40/41/50/51/71 for multichannel output. There was also iec958, my s/PDIF encoder. Similarly, arecord -L lists all capture devices.

[Edit: null is also an option, for those who wish to send their output to oblivion.]

After plugging my headset into the rear channel jack, both Twinkle and xine could be configured to use the device plug:rear to push their output through the headset.

I hope this helps anyone else who may be looking to do something similar. It's a lot simpler then mucking around with .asoundrc files or JACK all day.

Cheers,
Brian

Last edited by bezeek; 09-11-2007 at 02:43 PM.
 
  


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
mapping mount points to iostat output DotHQ Linux - Enterprise 1 04-18-2007 11:56 AM
No audio output - at all cudmore Linux - Software 1 09-16-2006 12:33 PM
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 05:32 AM
mapping a key to output txt while in x using term MadPenguin Linux - Software 0 06-22-2005 03:10 PM
no audio output pirozzi Red Hat 8 01-24-2004 12:05 AM


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