summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'status.c')
-rw-r--r--status.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/status.c b/status.c
index 3dbe854..5fd4f8e 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.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))