21 #include <sys/socket.h> 23 #include <sys/ioctl.h> 24 #include <linux/sockios.h> 34 if (::ioctl(
fd(), DMX_SET_BUFFER_SIZE, size) < 0)
36 "Could not set the size of the buffer on DVB adapter. requested size: ")
43 if (::ioctl(
fd(), DMX_START) < 0)
50 if (::ioctl(
fd(), DMX_STOP) < 0)
#define SENF_THROW_SYSTEM_EXCEPTION(desc)
int fd() const
Get file descriptor.
bool eof() const
Check for end-of-file condition.
DVBDemuxSocketProtocol public header.
void startFiltering() const
void setBufferSize(unsigned long size) const
set the size of the circular buffer used for filtered data.
SocketHandle public header.
void stopFiltering() const