[pulseaudio-discuss] [PATCH] alsa-mixer: Don't move LFE in 2.1 and 4.1 modes on SB Omni Surround 5.1
Tanu Kaskinen
tanuk at iki.fi
Tue Jun 12 14:09:36 UTC 2018
On Fri, 2018-06-01 at 13:38 +0300, Nazar Mokrynskyi wrote:
> A bit hacky approach, but it allows to preserve LFE output position
> even in reduced output modes 2.1 and 4.1.
>
> Signed-off-by: Nazar Mokrynskyi <nazar at mokrynskyi.com>
> ---
> src/modules/alsa/mixer/profile-sets/sb-omni-surround-5.1.conf | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/modules/alsa/mixer/profile-sets/sb-omni-surround-5.1.conf b/src/modules/alsa/mixer/profile-sets/sb-omni-surround-5.1.conf
> index 11985bb3..d5d1d653 100644
> --- a/src/modules/alsa/mixer/profile-sets/sb-omni-surround-5.1.conf
> +++ b/src/modules/alsa/mixer/profile-sets/sb-omni-surround-5.1.conf
> @@ -42,7 +42,7 @@ direction = output
>
> [Mapping analog-surround-21]
> device-strings = surround51:%f
> -channel-map = front-left,front-right,lfe
> +channel-map = front-left,front-right,aux1,aux2,aux3,lfe
> paths-output = analog-output
> direction = output
>
> @@ -54,7 +54,7 @@ direction = output
>
> [Mapping analog-surround-41]
> device-strings = surround51:%f
> -channel-map = front-left,front-right,rear-left,rear-right,lfe
> +channel-map = front-left,front-right,rear-left,rear-right,aux1,lfe
> paths-output = analog-output
> direction = output
>
Thanks! Applied to the "next" branch.
--
Tanu
https://liberapay.com/tanuk
https://www.patreon.com/tanuk
More information about the pulseaudio-discuss
mailing list