#ifndef BCE1B4DD_976E_456D_AE9A_87A17E300579 #define BCE1B4DD_976E_456D_AE9A_87A17E300579 /* ******************************************************************************* * INCLUDE ******************************************************************************* */ #include "AudioComponent.h" #include "AudioFrameAdapter.h" #include "AudioResample.h" namespace Video { namespace Core { /* ******************************************************************************* * CLASS DECLARE ******************************************************************************* */ class AudioAdaptablePipe: public AudioComponent { public: using AudioComponent::AudioComponent; protected: void onLink(Core::Component::Ptr pPrevious) override; void onUnlink(Core::Component::Ptr pPrevious) override; virtual Frame::Ptr readFrame(uint32_t timeout = 1000); private: AudioResample::Ptr _pResample; AudioFrameAdapter::Ptr _pFrameAdapter; }; } } #endif