#ifndef D770D9A1_7014_4DBA_99C9_708BEDAA10F6 #define D770D9A1_7014_4DBA_99C9_708BEDAA10F6 /* ******************************************************************************* * INCLUDE ******************************************************************************* */ #include "Component.h" #include "CodecID.h" #include "ChannelLayout.h" #include "SampleFormat.h" namespace Video { namespace Core { /* ******************************************************************************* * CLASS DECLARE ******************************************************************************* */ class AudioComponent: public Component { public: using Ptr = Poco::AutoPtr; public: AudioComponent(const std::string& name); virtual ~AudioComponent(); virtual void reset() {}; public: CONFIGURABLE_DECLARE_PARAMETER(SampleRate, int); CONFIGURABLE_DECLARE_PARAMETER(ChannelLayout, ChannelLayout); CONFIGURABLE_DECLARE_PARAMETER(SampleFormat, SampleFormat); CONFIGURABLE_DECLARE_PARAMETER(FrameSize, int); CONFIGURABLE_DECLARE_PARAMETER(Gain, int); CONFIGURABLE_DECLARE_PARAMETER(PTSOffset, int64_t); CONFIGURABLE_DECLARE_PARAMETER(SignalLost, bool); }; } } #endif