Go to the documentation of this file.
3 #ifndef ASISTREAMHANDLER_H
4 #define ASISTREAMHANDLER_H
52 const QString& output_file = QString()) override
66 void run(
void)
override;
88 #endif // ASISTREAMHANDLER_H
@ kASIRecoveredReceiveClock
static QMap< QString, ASIStreamHandler * > s_handlers
Buffers reads from device files.
static QMap< QString, uint > s_handlersRefCnt
@ kASIRXSyncOn204ConvertTo188
static ASIStreamHandler * Get(const QString &devname, int inputid)
ASIClockSource m_clockSource
Encapsulates data about MPEG stream and emits events for each table.
static void Return(ASIStreamHandler *&ref, int inputid)
void SetClockSource(ASIClockSource cs)
void AddListener(MPEGStreamData *data, bool=false, bool=false, const QString &output_file=QString()) override
static QMutex s_handlersLock
void SetRunningDesired(bool desired) override
At minimum this sets _running_desired, this may also send signals to anything that might be blocking ...
void PriorityEvent(int fd) override
ASIStreamHandler(const QString &device, int inputid)
This class is intended to detect the presence of needed tables.
void run(void) override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
@ kASIRXSyncOnActualConvertTo188
virtual void AddListener(MPEGStreamData *data, bool allow_section_reader=false, bool needs_buffering=false, const QString &output_file=QString())
void SetRXMode(ASIRXMode m)
static constexpr unsigned int kSize