<br><br><div class="gmail_quote">On Wed, Jun 2, 2010 at 9:21 AM, Jean-Yves Avenard <span dir="ltr">&lt;<a href="mailto:jyavenard@gmail.com">jyavenard@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi<br>
<br>
On Wednesday, June 2, 2010, Jim Hendry &lt;<a href="mailto:hendryjh@gmail.com">hendryjh@gmail.com</a>&gt;<br>
<div class="im">&gt; As far as I can tell the only way to control optical volume is with pulseaudio (or esd/arts). ALSA does not seem to have a mechanism for controlling master/pcm volume for S/PDIF.<br>
&gt;<br>
</div>Course there is.<br>
<br>
As mentioned in this thread and many times before. If using spdif  or<br>
digital audio, you can make myth control the volume by setting the<br>
mixer device to &quot;software&quot;.<br>
<br>
Why use pulse that will completely mess the quality of the output?<br>
<br>
Pulse only ever make sense on a PC if you are using this PC for<br>
running other application than mythtv , at the same time as mythtv and<br>
that also requires audio output.<br>
And maybe when you want to output audio on another PC.<br>
<br>
In all other cases, ALSA is the best solution for mythtv and I can&#39;t<br>
see what functionality pulse would provide that myth can&#39;t already do.<br>
<font color="#888888"><br>
JY<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>Myth can control its volume only.  This actually does solve 80% of my use cases where I am not sitting close enough to reach the volume control on the speakers.  It&#39;s only if I am watching video that mythfrontend cannot play that I will run into problems.  For non-video purposes I sit at the computer.<br>
<br>I have a dual monitor setup and generally have mythfrontend running all 
of the time, so I need a sound system setup that allows amarok, flash, 
and kde to share the speakers with myth.<br>
<br>Possible solution:<br>Point mythfrontend at ALSA:dmixdevice.<br>Use mythfrontend software mixer<br>Set DEBUG_PULSE_AUDIO_ALSA_EMULATION so pulse continues to run<br>Ensure pulseaudio is using dmix device and not locking HW<br>
<br>This way mythfrontend is using ALSA, but other applications without software volume control can use pulseaudio.<br><br>Drawback: different volume control keys for myth and non-myth apps (F10/F11 vs volup/voldown).<br>
<br>I will try this out sometime in the next day or two to ensure that it works and solves a problem.<br><br>Jim<br>