On Thu, Nov 24, 2005 at 07:27:40PM +0100, Patrick Fischer wrote:
after hours of testing, I don't understand the methods of the receiver.
Maybe I'm totally wrong.
I need: -a method to receive the PES of a given VPID of a Channel -the method should be closed if the VPID of the Channel can't be reached any more
In my opinion this is a receiver! But this receiver will NEVER be detached unless vdr will shutdown.
A perhaps related thing: When developing the vdr-suspend patch http://www.iki.fi/~msmakela/software/vdr/#suspend, I noticed that the loop in cDevice::Action() never releases the tuner, even if no receiver is attached (e.g., when playing a recording while no timer is active, or on a multi-card system when recording from only one transponder). I haven't measured, but I believe that keeping all cards tuned to a transponder may waste several watts. Of course, you may argue that it is negligible compared to the total power consumption (about 57 watts on my box with the hard disk spinning and softdevice suspended and about 68 watts with softdevice running, not counting the monitor and speakers).
Marko