Re: How to play ALSA Mixer Line-In in aplay?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-12-01 at 01:05 -0700, Cristian Savu wrote:
> I recently got a USB headset (wireless) and I thought it was going to quickly 
> solve the "tied up by a cable" problem.
> 
> I thought it would be the exact equivalent of any ordinary "stereo jack" type 
> headset.
> 
> But unfortunately this device can only be used for "PCM" type of audio 
> sources.
> 
> It is not working - for instance - with the (onboard) soundcard's Line-In or 
> Microphone jacks.
> 
> And what bothers me is that I have a tv tuner that has the audio output looped 
> back through the onboard Line-In jack, and of course it's not getting to my 
> USB headset.
> 
> And no, I tried to play the tv tuner audio as a PCM in aplay, but it doesn't 
> yield anything. The only way out for the sound is through the audio out jack 
> on the back of the tv tuner.
> 
> Digging with google, I managed to find a set of udev rules that can be used in 
> a configuration file to quickly redirect the PCM of the current mixer to a 
> USB headset as soon as the headset is plugged in a USB connector of the 
> computer.
> 
> So my problem really boils down to one single question:
> 
> ==============================
> Is there any way to redirect other mixer inputs (like Line-In or Mic) and play 
> them just like ordinary PCM?
> ==============================
> 
> As far as I tried, I couldn't find anything anywhere on the net.
> 
> 
> I signed up with this mailing list as a last resort in my attempt to find an 
> answer to this problem. So if there's any expert here willing to pull me out 
> of this total darkness, please have mercy and share some ideas.
> 
> 
> Thank you all in advance,
> 
> 
> Cristian

Sounds like precisely what Pulseaudio was designed for, if you'd care to
try that out. I don't doubt that its possible with alsa-only and proper
udev rules, but the point of Pulseaudio is to (hopefully) make things
easier to setup and maintain. Try it out.


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux