[vdr] vdr-xine, changing priority of the receiver when connected

Reinhard Nissl rnissl at gmx.de
Sun Nov 13 23:34:37 CET 2005


Hi,

syrius.ml at no-log.org wrote:

>>Hmm while i continue to seek, could you confirm it will be possible to
>>set the receiving device priority from xineDevice.C ?
>>
>>Very likely i'll will answer this myself in a few hours ;)
> 
> Ok, if i've understood things well, i can't without adding a new
> protected function to cDevice. (i guess it's the nice way and that it
> could be worst: cReceiver *receiver[MAXRECEIVERS]; could be moved from
> private to protected)
> 
> Ok, maybe i should think in silence :)

Well, please keep in mind that you'll have to change receiver priority 
whenever a new receiver is created (e. g. when a transfer thread is 
started e. g. after replaying a recording or when switching channels). 
So cXineDevice::SetPlayMode() is your friend ;-)

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de



More information about the vdr mailing list