From 264fa085bd2d6941ddfa1b977372a0d0cdd5d801 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 9 Jan 2005 12:08:34 +0100 Subject: Implemented displaying audio channel --- status.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'status.c') diff --git a/status.c b/status.c index a39c7acb..5fd4f8ec 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.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)) -- cgit v1.2.3