summaryrefslogtreecommitdiff
path: root/status.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-09 12:08:34 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-09 12:08:34 +0100
commit264fa085bd2d6941ddfa1b977372a0d0cdd5d801 (patch)
treea4137fbfe750c36705393cbac8a4809670036097 /status.h
parentf79f81dfd4e5e482f251f0ae53731cd8c6a42d2f (diff)
downloadvdr-264fa085bd2d6941ddfa1b977372a0d0cdd5d801.tar.gz
vdr-264fa085bd2d6941ddfa1b977372a0d0cdd5d801.tar.bz2
Implemented displaying audio channel
Diffstat (limited to 'status.h')
-rw-r--r--status.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/status.h b/status.h
index 1d6494ac..58aec57e 100644
--- a/status.h
+++ b/status.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: status.h 1.7 2005/01/02 12:08:12 kls Exp $
+ * $Id: status.h 1.8 2005/01/09 11:50:21 kls Exp $
*/
#ifndef __STATUS_H
@@ -39,6 +39,9 @@ protected:
virtual void SetAudioTrack(int Index, const char * const *Tracks) {}
// The audio track has been set to the one given by Index, which
// points into the Tracks array of strings.
+ virtual void SetAudioChannel(int AudioChannel) {}
+ // The audio channel has been set to the given value.
+ // 0=stereo, 1=left, 2=right, -1=no information available.
virtual void OsdClear(void) {}
// The OSD has been cleared.
virtual void OsdTitle(const char *Title) {}
@@ -71,6 +74,7 @@ public:
static void MsgReplaying(const cControl *Control, const char *Name);
static void MsgSetVolume(int Volume, bool Absolute);
static void MsgSetAudioTrack(int Index, const char * const *Tracks);
+ static void MsgSetAudioChannel(int AudioChannel);
static void MsgOsdClear(void);
static void MsgOsdTitle(const char *Title);
static void MsgOsdStatusMessage(const char *Message);