X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FDVB%2FDVBProtocolWrapper.hh;h=46848fbcc30c3f441020d8d105c02953cd09ee88;hb=aa4bfb511acb198a278caafc193ac67a9c322a13;hp=e6cf65e0361481fff0e6b849db6da951e16e5d99;hpb=7f1e38e4538c40325566e9fe3f12bf10c3ed3b93;p=senf.git diff --git a/senf/Socket/Protocols/DVB/DVBProtocolWrapper.hh b/senf/Socket/Protocols/DVB/DVBProtocolWrapper.hh index e6cf65e..46848fb 100644 --- a/senf/Socket/Protocols/DVB/DVBProtocolWrapper.hh +++ b/senf/Socket/Protocols/DVB/DVBProtocolWrapper.hh @@ -43,7 +43,7 @@ namespace senf { /** \brief Helperclass for configuration and controlling DVB protocol handles. */ - class DVBSectionProtocolWrapper : public DVBProtocolWrapper + class DVBSectionProtocolWrapper : public DVBProtocolWrapper { private: const DVBDemuxSectionSocketProtocol& protocol; @@ -57,11 +57,11 @@ namespace senf { DVBSectionProtocolWrapper(senf::DVBDemuxSectionHandle sh); ~DVBSectionProtocolWrapper() { } - + void setSectionFilter(unsigned short int pid, u_int8_t filter, unsigned int flags, u_int8_t mask, u_int8_t mode, unsigned int timeout); - void setBufferSize(unsigned long size); + void setBufferSize(unsigned long size); ///< Set the size of the circular buffer used for filtered data. /**< The default size is two maximum sized sections, i.e. if this function is not called a buffer size of 2 * 4096 bytes @@ -70,16 +70,16 @@ namespace senf { void startFiltering(); ///< Starts filtering void stopFiltering(); ///< Stops filtering }; - + SENF_CONSOLE_REGISTER_ENUM_MEMBER(DVBSectionProtocolWrapper, Flags, (CHECK_CRC)(ONESHOT)(IMMEDIATE_START)(KERNEL_CLIENT)); - + class DVBPESProtocolWrapper : public senf::DVBProtocolWrapper { private: const senf::DVBDemuxPESSocketProtocol& protocol; - + public: enum Flags {CHECK_CRC = DMX_CHECK_CRC, ONESHOT = DMX_ONESHOT, @@ -95,7 +95,7 @@ namespace senf { void startFiltering(); ///< Starts filtering void stopFiltering(); ///< Stops filtering }; - + SENF_CONSOLE_REGISTER_ENUM_MEMBER(DVBPESProtocolWrapper, Flags, (CHECK_CRC)(ONESHOT)(IMMEDIATE_START)(KERNEL_CLIENT)); }