LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 10: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, 02: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, 01: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 01:43 PM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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