summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-10-27 09:57:59 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-10-27 09:57:59 +0200
commit407c2fb77fc263fa4ec134a6935701ca8dd28eca (patch)
treee3f738f4983d4ced5e0a40555767ba37215ea61b /dvbapi.h
parenta7136cf5186808c474365953f166665416a7083d (diff)
downloadvdr-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dvbapi.h b/dvbapi.h
index 8e67f9b4..725060f8 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.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 {