#ifndef CCC7E17D_FF7C_44B5_8DCC_BFCE92AAFC87 #define CCC7E17D_FF7C_44B5_8DCC_BFCE92AAFC87 /* ******************************************************************************* * INCLUDE ******************************************************************************* */ #include "../core/AudioOutput.h" #include "MPPChannel.h" #include namespace Video { namespace MPP5 { /* ******************************************************************************* * CLASS DECLARE ******************************************************************************* */ class HDMIAudioOutput: public Core::AudioOutput, public MPPChannel { public: HDMIAudioOutput(const std::string& arg); ~HDMIAudioOutput(); protected: void initialize() override; void deinitialize() override; void onConfigChanged(ParameterNames& names) override; void writeFrame(Core::Frame::Ptr pFrame) override; int getVolumeValue(); private: hi_audio_bit_width _bitWidth; hi_audio_snd_mode _sndMode; }; } } #endif