summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-03-09 17:11:49 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-03-09 17:11:49 +0100
commitd5c01bbe5a4de6861f523450121c6f4c00539561 (patch)
treefb01623822bce89a12e4b4828d4f729e8dba0b16 /dvbapi.c
parentcb90e9b8dc05164c5a3f1b4550003a2a55409144 (diff)
downloadvdr-d5c01bbe5a4de6861f523450121c6f4c00539561.tar.gz
vdr-d5c01bbe5a4de6861f523450121c6f4c00539561.tar.bz2
Implemented OSD for Volume and Mute
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dvbapi.c b/dvbapi.c
index a0bcb1bd..dc7eba0b 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -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)