[linux-audio-user] Patch one channel to both channels in ALSA?

Patrick Shirkey pshirkey at boosthardware.com
Sat Jan 6 12:22:17 EST 2007


Peter Clarke wrote:
> Is there a neat software solution for patching, say, the 
> left channel of PCM output to both channels of the line 
> output of my soundcard in ALSA?
> 
> I need this because I've just installed a TV card, which 
> works great except that the dual language function doesn't 
> seem to be supported.  So I get English in one speaker and 
> Chinese in the other.  I'd rather have the same in both.
> 
> I thought of doing it with the JACK patchbay, but the TV 
> output unfortunately doesn't show up in JACK.
> 
> Thanks for any help,
> 

-Firstly what app are you using? It could be that someone round here 
uses  it and knows of a work around.

- There once was a jack plugin for alsa which allows you to run alsa/oss 
apps through jack

http://alsa-project.org/alsa-doc/doc-php/asoundrc.php?company=Generic&card=Generic&chip=Generic&module=Generic#jackplug

Apparently it doesn't work anymore.

- I thought there might be a plugin for assiging channels specifically 
via  an asoundrc file

http://alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins

Looking into this it appears there is not that feature. Probably because 
no one has ever needed it.

I would say the easiest solution is to file a bug report with the person 
who makes the TV software. However you might get lucky and someone round 
here might feel like whipping up a new plugin to solve your problem...


Cheers.





-- 
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://lau.linuxaudio.org - The Linux Audio Users guide
========================================

"Anything your mind can see you can manifest physically, then it will 
become reality" - Macka B




More information about the Linux-audio-user mailing list