30 const char *msg =
"ERROR: cReceiver has not been detached yet! This is a design fault and VDR will abort now!";
32 fprintf(stderr,
"%s\n", msg);
53 dsyslog(
"too many PIDs in cReceiver (Pid = %d)", Pid);
71bool cReceiver::AddPids(
int Pid1,
int Pid2,
int Pid3,
int Pid4,
int Pid5,
int Pid6,
int Pid7,
int Pid8,
int Pid9)
93 for (
int i = 0; i <
numPids; i++) {
117 for (
int i = 0; i <
numPids; i++) {
const int * Dpids(void) const
tChannelID GetChannelID(void) const
const int * Apids(void) const
const int * Spids(void) const
void SetPriority(int Priority)
bool AddPids(const int *Pids)
Adds the given zero terminated list of Pids to the list of PIDs of this receiver.
std::atomic< int > pids[MAXRECEIVEPIDS]
std::atomic< cDevice * > device
bool AddPid(int Pid)
Adds the given Pid to the list of PIDs of this receiver.
bool SetPids(const cChannel *Channel)
Sets the PIDs of this receiver to those of the given Channel, replacing any previously stored PIDs.
std::atomic< int > numPids
void DelPids(const int *Pids)
Deletes the given zero terminated list of Pids from the list of PIDs of this receiver.
time_t startScrambleDetection
time_t lastScrambledPacket
cReceiver(const cChannel *Channel=NULL, int Priority=MINPRIORITY)
Creates a new receiver for the given Channel with the given Priority.
void DelPid(int Pid)
Deletes the given Pid from the list of PIDs of this receiver.