<p><br>
> ---<br>
> src/modules/alsa/mixer/paths/analog-output-headphones-2.conf | 4 ++++<br>
> src/modules/alsa/mixer/paths/analog-output-headphones.conf | 4 ++++<br>
> src/modules/alsa/mixer/paths/analog-output-lineout.conf | 6 ++++++<br>
> src/modules/alsa/mixer/paths/analog-output-speaker-always.conf | 4 ++++<br>
> src/modules/alsa/mixer/paths/analog-output-speaker.conf | 4 ++++<br>
> 5 files changed, 22 insertions(+)<br>
><br>
> diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf<br>
> index ddabf77..1028b93 100644<br>
> --- a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf<br>
> +++ b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf<br>
> @@ -47,6 +47,10 @@ volume = off<br>
> switch = mute<br>
> volume = zero<br>
><br>
> +[Element Line Out]<br>
> +switch = off<br>
> +volume = off</p>
<p>Do any computer have two headphone jacks and Line Out Playback Volume ?</p>
<p>> +<br>
> [Element Headphone+LO]<br>
> switch = mute<br>
> volume = zero<br>
> diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf b/src/modules/alsa/mixer/paths/analog-output-headphones.conf<br>
> index b6ee70b..a7a2140 100644<br>
> --- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf<br>
> +++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf<br>
> @@ -68,6 +68,10 @@ override-map.2 = all-left,all-right<br>
> switch = off<br>
> volume = off<br>
><br>
> +[Element Line Out]<br>
> +switch = off<br>
> +volume = off</p>
<p><a href="http://freedesktop.org/software/pulseaudio/doxygen/volume.html">http://freedesktop.org/software/pulseaudio/doxygen/volume.html</a></p>
<p>Hence it is usually a better idea to treat all volume values as opaque with a range from PA_VOLUME_MUTED (0%) to PA_VOLUME_NORM (100%) and to refrain from any calculations with them.</p>
<p>Pulseaudio merge two controls (playback switch and playback volume ) into it volume scale</p>
<p>It is a design problem of pulseaudio vokume scale</p>
<p>Do it mean pulseaudio won't restore line out playback volume when headphone is unplugged ?</p>
<p>> diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf<br>
> index b6d9f94..101edd8 100644<br>
> --- a/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf<br>
> +++ b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf<br>
> @@ -68,6 +68,10 @@ volume = zero<br>
> switch = mute<br>
> volume = zero<br>
><br>
> +[Element Line Out]<br>
> +switch = off<br>
> +volume = off<br>
> +<br>
> [Element Headphone+LO]<br>
> switch = off<br>
> volume = off<br>
> diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker.conf b/src/modules/alsa/mixer/paths/analog-output-speaker.conf<br>
> index 39193dd..e3b6c54 100644<br>
> --- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf<br>
> +++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf<br>
> @@ -84,6 +84,10 @@ volume = off<br>
> switch = off<br>
> volume = off<br>
><br>
> +[Element Line Out]<br>
> +switch = off<br>
> +volume = off<br>
> +<br>
> [Element Speaker+LO]<br>
> required-any = any<br>
> switch = mute<br>
> --<br>
> </p>