diff options
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 14 |
1 files changed, 13 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.5 2003/05/03 14:47:44 kls Exp $ + * $Id: status.c 1.7 2005/01/09 11:51:04 kls Exp $ */ #include "status.h" @@ -47,6 +47,18 @@ void cStatus::MsgSetVolume(int Volume, bool Absolute) sm->SetVolume(Volume, Absolute); } +void cStatus::MsgSetAudioTrack(int Index, const char * const *Tracks) +{ + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + 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)) |