summaryrefslogtreecommitdiff
path: root/status.c
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.c
parentf79f81dfd4e5e482f251f0ae53731cd8c6a42d2f (diff)
downloadvdr-264fa085bd2d6941ddfa1b977372a0d0cdd5d801.tar.gz
vdr-264fa085bd2d6941ddfa1b977372a0d0cdd5d801.tar.bz2
Implemented displaying audio channel
Diffstat (limited to 'status.c')
-rw-r--r--status.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/status.c b/status.c
index a39c7acb..5fd4f8ec 100644
--- a/status.c
+++ b/status.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: status.c 1.6 2005/01/02 12:09:12 kls Exp $
+ * $Id: status.c 1.7 2005/01/09 11:51:04 kls Exp $
*/
#include "status.h"
@@ -53,6 +53,12 @@ void cStatus::MsgSetAudioTrack(int Index, const char * const *Tracks)
sm->SetAudioTrack(Index, Tracks);
}
+void cStatus::MsgSetAudioChannel(int AudioChannel)
+{
+ for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm))
+ sm->SetAudioChannel(AudioChannel);
+}
+
void cStatus::MsgOsdClear(void)
{
for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm))