diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-03-09 17:11:49 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-03-09 17:11:49 +0100 |
commit | d5c01bbe5a4de6861f523450121c6f4c00539561 (patch) | |
tree | fb01623822bce89a12e4b4828d4f729e8dba0b16 /dvbapi.c | |
parent | cb90e9b8dc05164c5a3f1b4550003a2a55409144 (diff) | |
download | vdr-d5c01bbe5a4de6861f523450121c6f4c00539561.tar.gz vdr-d5c01bbe5a4de6861f523450121c6f4c00539561.tar.bz2 |
Implemented OSD for Volume and Mute
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbapi.c 1.160 2002/03/09 11:59:39 kls Exp $ + * $Id: dvbapi.c 1.161 2002/03/09 14:18:25 kls Exp $ */ #include "dvbapi.h" @@ -2702,12 +2702,13 @@ bool cDvbApi::ToggleAudioTrack(void) return false; } -void cDvbApi::ToggleMute(void) +bool cDvbApi::ToggleMute(void) { int OldVolume = volume; mute = !mute; SetVolume(0, mute); volume = OldVolume; + return mute; } void cDvbApi::SetVolume(int Volume, bool Absolute) |