diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-02-13 09:54:51 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-02-13 09:54:51 +0100 |
commit | e972c0464adc6cb21de16867473f3f6ddefcb2bb (patch) | |
tree | 500ef6e0cab883cc1f682cfe897d7e23572d647b /device.c | |
parent | 78598e1a0a72891765db618f46a99a3dd477776d (diff) | |
download | vdr-e972c0464adc6cb21de16867473f3f6ddefcb2bb.tar.gz vdr-e972c0464adc6cb21de16867473f3f6ddefcb2bb.tar.bz2 |
cAudio::Play() now also gets the 0xC0...0xDF audio
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.91 2005/02/12 16:29:49 kls Exp $ + * $Id: device.c 1.92 2005/02/13 09:51:48 kls Exp $ */ #include "device.h" @@ -883,8 +883,11 @@ int cDevice::PlayPesPacket(const uchar *Data, int Length, bool VideoOnly) break; case 0xC0 ... 0xDF: // audio SetAvailableTrack(ttAudio, c - 0xC0, c); - if (!VideoOnly && c == availableTracks[currentAudioTrack].id) + if (!VideoOnly && c == availableTracks[currentAudioTrack].id) { w = PlayAudio(Start, d); + if (FirstLoop) + Audios.PlayAudio(Data, Length, c); + } break; case 0xBD: { // private stream 1 int PayloadOffset = Data[8] + 9; |