diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-02 15:11:44 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-02 15:11:44 +0100 |
commit | 0b3a801ab463186519e9e1c14ea891924c64dff5 (patch) | |
tree | 9795fd31fa77a909b5a9cd19ee89a7062d381685 /status.c | |
parent | 286af66cfb787b76ee7289c920a75a3dd21ce795 (diff) | |
download | vdr-0b3a801ab463186519e9e1c14ea891924c64dff5.tar.gz vdr-0b3a801ab463186519e9e1c14ea891924c64dff5.tar.bz2 |
Implemented audio track menu
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.5 2003/05/03 14:47:44 kls Exp $ + * $Id: status.c 1.6 2005/01/02 12:09:12 kls Exp $ */ #include "status.h" @@ -47,6 +47,12 @@ 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::MsgOsdClear(void) { for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) |