summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-02 15:11:44 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-02 15:11:44 +0100
commit0b3a801ab463186519e9e1c14ea891924c64dff5 (patch)
tree9795fd31fa77a909b5a9cd19ee89a7062d381685 /status.c
parent286af66cfb787b76ee7289c920a75a3dd21ce795 (diff)
downloadvdr-0b3a801ab463186519e9e1c14ea891924c64dff5.tar.gz
vdr-0b3a801ab463186519e9e1c14ea891924c64dff5.tar.bz2
Implemented audio track menu
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 3dbe8543..a39c7acb 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.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))