[pulseaudio-discuss] Patch to work around some codec's phase inversion when remap_channels mapping stereo to mono
Bu, Long
long.bu at intel.com
Mon Dec 21 01:26:35 PST 2009
Hi all,
There are some Inel HDA codecs like ALC272 that inverse phase of one channel when capturing..
remap_channels remaps stereo to mono by simply add one channel to another. the sum is always very very close to zero.
ALSA works around this by using "copy" route policy for all Intel-HAD card which is equivalent with PA_RESAMPLER_NO_REMAP set in PA's resampler.
Attach is a patch that set a REMAP flag for source when its underlying H/W is ALC 272. Then set REMAP flag for source-outputs associated with this source.
Cheers.
Long
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pa-git-mater-intel-hda-alc272-dmix-phase-inversion.diff
Type: application/octet-stream
Size: 4449 bytes
Desc: pa-git-mater-intel-hda-alc272-dmix-phase-inversion.diff
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20091221/875c573a/attachment.obj>
More information about the pulseaudio-discuss
mailing list