diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-09 12:08:34 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-09 12:08:34 +0100 |
commit | 264fa085bd2d6941ddfa1b977372a0d0cdd5d801 (patch) | |
tree | a4137fbfe750c36705393cbac8a4809670036097 /status.c | |
parent | f79f81dfd4e5e482f251f0ae53731cd8c6a42d2f (diff) | |
download | vdr-264fa085bd2d6941ddfa1b977372a0d0cdd5d801.tar.gz vdr-264fa085bd2d6941ddfa1b977372a0d0cdd5d801.tar.bz2 |
Implemented displaying audio channel
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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)) |