40 lines
936 B
C++
40 lines
936 B
C++
/** @file
|
|
* @author Edouard DUPIN
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
* @license APACHE v2.0 (see license file)
|
|
*/
|
|
|
|
#ifndef __AUDIO_DRAIN_ALGO_CHANNEL_REORDER_H__
|
|
#define __AUDIO_DRAIN_ALGO_CHANNEL_REORDER_H__
|
|
|
|
#include <audio/drain/Algo.h>
|
|
|
|
namespace audio {
|
|
namespace drain{
|
|
class ChannelReorder : public audio::drain::Algo {
|
|
protected:
|
|
/**
|
|
* @brief Constructor
|
|
*/
|
|
ChannelReorder();
|
|
void init();
|
|
public:
|
|
static std11::shared_ptr<audio::drain::ChannelReorder> create();
|
|
/**
|
|
* @brief Destructor
|
|
*/
|
|
virtual ~ChannelReorder() {};
|
|
protected:
|
|
virtual void configurationChange();
|
|
public:
|
|
virtual bool process(std11::chrono::system_clock::time_point& _time,
|
|
void* _input,
|
|
size_t _inputNbChunk,
|
|
void*& _output,
|
|
size_t& _outputNbChunk);
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|