summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-16 16:10:44 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-16 16:10:44 +0100
commitbde66cd4f52b1838a09a6915be2d1a8f23dd3a80 (patch)
treeefe3c7e663b9f5bb32072b44ed4d9dccda8e0a62 /device.c
parentaf94ec6b2d9c0570113c79d454a699e6be97ad84 (diff)
downloadvdr-bde66cd4f52b1838a09a6915be2d1a8f23dd3a80.tar.gz
vdr-bde66cd4f52b1838a09a6915be2d1a8f23dd3a80.tar.bz2
Falling back to 'stereo' when switching channels
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/device.c b/device.c
index 2cf9f0fd..27b82629 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 1.75 2005/01/16 14:48:52 kls Exp $
+ * $Id: device.c 1.76 2005/01/16 16:04:56 kls Exp $
*/
#include "device.h"
@@ -569,6 +569,8 @@ eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool LiveView)
const tTrackId *Track = GetTrack(GetCurrentAudioTrack());
if (!Track || !Track->id || PreferredTrack != GetCurrentAudioTrack())
SetCurrentAudioTrack(PreferredTrack);
+ // Fall back to stereo:
+ SetAudioChannel(0);
}
cStatus::MsgChannelSwitch(this, Channel->Number()); // only report status if channel switch successfull
}