整理代码
This commit is contained in:
commit
c7b4e178ec
364 changed files with 59691 additions and 0 deletions
40
video/hisi/mpp5/AudioInput.h
Normal file
40
video/hisi/mpp5/AudioInput.h
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#ifndef C7DEE8B3_9816_4937_B2A6_0591DEF0ED45
|
||||
#define C7DEE8B3_9816_4937_B2A6_0591DEF0ED45
|
||||
/*
|
||||
*******************************************************************************
|
||||
* INCLUDE
|
||||
*******************************************************************************
|
||||
*/
|
||||
#include "MPPChannel.h"
|
||||
#include "../../core/AbstractAudioInput.h"
|
||||
#include "util/Task.h"
|
||||
#include <hi_common.h>
|
||||
#include <hi_mpi_audio.h>
|
||||
|
||||
namespace Video
|
||||
{
|
||||
namespace MPP5
|
||||
{
|
||||
/*
|
||||
*******************************************************************************
|
||||
* CLASS DECLARE
|
||||
*******************************************************************************
|
||||
*/
|
||||
class AudioInput: public Core::AbstractAudioInput, public MPPChannel
|
||||
{
|
||||
public:
|
||||
using Ptr = Poco::AutoPtr<AudioInput>;
|
||||
|
||||
public:
|
||||
AudioInput(uint32_t deviceID);
|
||||
~AudioInput();
|
||||
|
||||
protected:
|
||||
void start() override;
|
||||
void stop() override;
|
||||
void onConfigChanged(ParameterNames& names) override;
|
||||
Core::Frame::Ptr readFrame() override;
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue