diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-10-27 09:57:59 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-10-27 09:57:59 +0200 |
commit | 407c2fb77fc263fa4ec134a6935701ca8dd28eca (patch) | |
tree | e3f738f4983d4ced5e0a40555767ba37215ea61b /dvbapi.h | |
parent | a7136cf5186808c474365953f166665416a7083d (diff) | |
download | vdr-407c2fb77fc263fa4ec134a6935701ca8dd28eca.tar.gz vdr-407c2fb77fc263fa4ec134a6935701ca8dd28eca.tar.bz2 |
Completed storing the current audio volume in the setup.conf file
Diffstat (limited to 'dvbapi.h')
-rw-r--r-- | dvbapi.h | 3 |
1 files changed, 2 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.53 2001/09/23 11:01:46 kls Exp $ + * $Id: dvbapi.h 1.54 2001/10/27 09:50:03 kls Exp $ */ #ifndef __DVBAPI_H @@ -330,6 +330,7 @@ public: void SetVolume(int Volume, bool Absolute = false); // Sets the volume to the given value, either absolutely or relative to // the current volume. + static int CurrentVolume(void) { return PrimaryDvbApi ? PrimaryDvbApi->volume : 0; } }; class cEITScanner { |