From: David Henningsson Date: Fri, 21 Aug 2015 06:46:21 +0000 (+0200) Subject: alsa-mixer: Add "Front Line Out" and "Rear Line Out" X-Git-Tag: v6.99.1~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c50766b52ad4cdefa51d7186389c1fb777402802;p=platform%2Fupstream%2Fpulseaudio.git alsa-mixer: Add "Front Line Out" and "Rear Line Out" "Front Line Out" was found in the wild on one of the machines we enable. I figured I could just as well add "Rear Line Out" too, because that's just as likely to show up. As a reminder, "Front Line Out" means "a line out jack physically located on the front side", where as "Line Out Front" means "a line out jack playing back front left and front right channels in a channel map". Signed-off-by: David Henningsson --- diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf b/src/modules/alsa/mixer/paths/analog-output-lineout.conf index 68f444a..454810d 100644 --- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf +++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf @@ -33,6 +33,22 @@ state.unplugged = unknown state.plugged = no state.unplugged = unknown +[Jack Front Line Out] +required-any = any + +[Jack Front Line Out Phantom] +state.plugged = unknown +state.unplugged = unknown +required-any = any + +[Jack Rear Line Out] +required-any = any + +[Jack Rear Line Out Phantom] +state.plugged = unknown +state.unplugged = unknown +required-any = any + [Jack Line Out Front] required-any = any diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf index b6d9f94..599cfc8 100644 --- a/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf +++ b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf @@ -41,6 +41,14 @@ state.unplugged = unknown state.plugged = no state.unplugged = unknown +[Jack Front Line Out] +state.plugged = no +state.unplugged = unknown + +[Jack Rear Line Out] +state.plugged = no +state.unplugged = unknown + [Element Hardware Master] switch = mute volume = merge diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker.conf b/src/modules/alsa/mixer/paths/analog-output-speaker.conf index 39193dd..ab02ad0 100644 --- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf +++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf @@ -44,6 +44,14 @@ state.unplugged = unknown state.plugged = no state.unplugged = unknown +[Jack Front Line Out] +state.plugged = no +state.unplugged = unknown + +[Jack Rear Line Out] +state.plugged = no +state.unplugged = unknown + [Jack Speaker Phantom] required-any = any state.plugged = unknown