整理代码
This commit is contained in:
commit
c7b4e178ec
364 changed files with 59691 additions and 0 deletions
43
video/core/AudioComponent.h
Normal file
43
video/core/AudioComponent.h
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
#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<AudioComponent>;
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue