summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-16 15:06:54 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-16 15:06:54 +0200
commita4e97d871e2d85819d957f4df10ab650ef0447ab (patch)
treed02fdf273761d743c0c4afc1946f43885993566c /dvbapi.h
parent987a0e931cbd488be35fcf4d8979ea9cf7d17b63 (diff)
downloadvdr-a4e97d871e2d85819d957f4df10ab650ef0447ab.tar.gz
vdr-a4e97d871e2d85819d957f4df10ab650ef0447ab.tar.bz2
New keys 'Volume+', 'Volume-' and 'Mute'
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/dvbapi.h b/dvbapi.h
index 5e19a8e1..d0a68e79 100644
--- a/dvbapi.h
+++ b/dvbapi.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.h 1.50 2001/09/15 13:46:00 kls Exp $
+ * $Id: dvbapi.h 1.51 2001/09/16 13:54:23 kls Exp $
*/
#ifndef __DVBAPI_H
@@ -315,6 +315,18 @@ private:
public:
static void SetAudioCommand(const char *Command);
static const char *AudioCommand(void) { return audioCommand; }
+
+ // Volume facilities:
+
+private:
+ bool mute;
+ int volume;
+public:
+ void ToggleMute(void);
+ // Turns the volume off or on.
+ void SetVolume(int Volume, bool Absolute = false);
+ // Sets the volume to the given value, either absolutely or relative to
+ // the current volume.
};
class cEITScanner {