[mythtv] Patch: Volume and Mute support

Matt Zimmerman mdz at debian.org
Sun Feb 2 01:43:34 EST 2003


On Sun, Feb 02, 2003 at 12:29:02AM -0600, Robert Kulagowski wrote:

> This patch manipulates the mixer to allow software control of the
> volume and mute.
> 
> [ - decrease volume
> ] - increase volume
> | - Toggle Mute

This seems like it will not always do the right thing if there is more than
one sound card (and thus more than one mixer) in the system.  The mixer
device should probably be derived from the audio output device somehow.

What is this about:

@@ -355,9 +370,6 @@
              (internalState == kState_WatchingRecording &&
               nextState == kState_None))
     {
-        if (internalState == kState_WatchingRecording)
-            recorder->StopPlaying();
-
         closePlayer = true;

         internalState = nextState;

Also, I'm curious...do you actually use the mute feature?  I can't think of
a situation where I would rather mute than pause (if I used mythtv for such
things, instead of my TV or receiver).

-- 
 - mdz


More information about the mythtv-dev mailing list