[pulseaudio-discuss] Is there any way to remap source channels?

Colin Guthrie gmane at colin.guthr.ie
Fri May 13 09:05:41 PDT 2011


'Twas brillig, and Tanu Kaskinen at 13/05/11 16:55 did gyre and gimble:
> On Fri, 2011-05-13 at 14:14 +0200, marcin at saepia.net wrote:
>> Why should I prevent remixing? Can't I just use module-loopback with
>> channel_map set?
> 
> I think this is what happens (I haven't tested): if you have non-aux
> channels on the sound card, let's say front-left, front-right, rear-left
> and rear-right, and you try to loop back just rear-left and rear-right,
> the resampler (which really takes care of more conversion than just
> sample rate) will try to be smart and mix some of front-left and
> front-right into the rear-left and rear-right channels. The same logic
> is involved always when a stream - be it capture or playback - is
> connected to a device that doesn't have the same parameters as the
> stream. Configuring the device to use aux channels should disable the
> "intelligent" remixing - only the channels specified by the stream will
> be taken from the source.

FWIW, some modules, like module-remap-sink take a remix=yes|no argument
to control this behaviour even when using standard channel names.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list