diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-03-09 10:07:40 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-03-09 10:07:40 +0100 |
commit | 18ab84b0c108763f6c591abdbea228faabfdea1c (patch) | |
tree | 564ac04e0f8dfb51ce6f536ee7f4a47408002b6a /dvbapi.h | |
parent | 7ada973f6c9672f704e183310d733b1579b0d5b4 (diff) | |
download | vdr-18ab84b0c108763f6c591abdbea228faabfdea1c.tar.gz vdr-18ab84b0c108763f6c591abdbea228faabfdea1c.tar.bz2 |
New SVDRP command VOLU
Diffstat (limited to 'dvbapi.h')
-rw-r--r-- | dvbapi.h | 6 |
1 files changed, 4 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.h 1.65 2002/03/08 15:11:50 kls Exp $ + * $Id: dvbapi.h 1.66 2002/03/08 17:16:31 kls Exp $ */ #ifndef __DVBAPI_H @@ -43,7 +43,8 @@ #define MAXVIDEOFILESIZE 2000 // MB #define MINVIDEOFILESIZE 100 // MB -#define MAXVOLUME 255 +#define MAXVOLUME 255 +#define VOLUMEDELTA 5 // used to increase/decrease the volume const char *IndexToHMSF(int Index, bool WithFrame = false); // Converts the given index to a string, optionally containing the frame number. @@ -307,6 +308,7 @@ private: bool mute; int volume; public: + bool IsMute(void) { return mute; } void ToggleMute(void); // Turns the volume off or on. void SetVolume(int Volume, bool Absolute = false); |