52 if (
PlayTs(Data, Length) > 0)
static void SleepMs(int TimeoutMs)
Creates a cCondWait object and uses it to sleep for TimeoutMs milliseconds, immediately giving up the...
void SetPlayer(cPlayer *Player)
bool AttachReceiver(cReceiver *Receiver)
Attaches the given receiver to this device.
uchar * GetPmt(int &Index)
Returns a pointer to the Index'th TS packet of the PMT section.
void SetChannel(const cChannel *Channel)
Sets the Channel for which the PAT/PMT shall be generated.
uchar * GetPat(void)
Returns a pointer to the PAT section, which consists of exactly one TS packet.
int PlayTs(const uchar *Data, int Length, bool VideoOnly=false)
static cDevice * ReceiverDevice(void)
static cDevice * receiverDevice
cTransferControl(cDevice *ReceiverDevice, const cChannel *Channel)
virtual void Receive(const uchar *Data, int Length)
This function is called from the cDevice we are attached to, and delivers one TS packet from the set ...
cTransfer(const cChannel *Channel)
virtual void Activate(bool On)
cPatPmtGenerator patPmtGenerator