diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-16 15:06:54 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-16 15:06:54 +0200 |
commit | a4e97d871e2d85819d957f4df10ab650ef0447ab (patch) | |
tree | d02fdf273761d743c0c4afc1946f43885993566c /dvbapi.h | |
parent | 987a0e931cbd488be35fcf4d8979ea9cf7d17b63 (diff) | |
download | vdr-a4e97d871e2d85819d957f4df10ab650ef0447ab.tar.gz vdr-a4e97d871e2d85819d957f4df10ab650ef0447ab.tar.bz2 |
New keys 'Volume+', 'Volume-' and 'Mute'
Diffstat (limited to 'dvbapi.h')
-rw-r--r-- | dvbapi.h | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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 { |