Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: AC3 5.1 - can someone "fix" -a in VDR 1.1.x - Please :)



On Mon, Jan 20, 2003 at 11:15:01AM +0100, Christian Jacobsen wrote:
> Hallo Mailinglist,
> 
> unfortunatly my Reciver (Sony) does not realy work well with the "AC3 over
> DVB" so I am using the -a switch to start ac3play. With 1.0.4 and a CMI8738
> this works teriffic :))
> My HOWTO : http://www.vdrportal.de/board/thread.php?threadid=921&sid=
> 
> In 1.1.x it only works once :(
> 
> Wenn I start replying an AC3 recording (pro7) it starts ac3play but when
> switching channel it does not stop the program like in 1.0.4
> This means for me : no Audio until I restart VDR or kill ac3play :(
> 
> Can someone fix this or tell me what I am doing wrong ?


Try the patch in the attachment, but note: IT'S NOT TESTED.
Just written a few minutes ago. Maybe there is more to do.

         Werner


-- Attached file included as plaintext by Listar --
-- Desc: vdr-1.1.20-audio.dif

--- device.c
+++ device.c	Mon Jan 20 13:49:33 2003
@@ -471,10 +471,12 @@
 
 void cDevice::Play(void)
 {
+  Audios.MuteAudio(mute);	// Play Audio if not mute
 }
 
 void cDevice::Freeze(void)
 {
+  Audios.MuteAudio(true);	// Freezed pictures do not have audio
 }
 
 void cDevice::Mute(void)
@@ -508,6 +510,7 @@
 void cDevice::Detach(cPlayer *Player)
 {
   if (Player && player == Player) {
+     Audios.ClearAudio();
      player->Activate(false);
      player->device = NULL;
      player = NULL;



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index