audio-drain/audio/drain/ChannelReorder.hpp

37 lines
819 B
C++
Raw Normal View History

2015-04-10 23:00:13 +02:00
/** @file
* @author Edouard DUPIN
* @copyright 2011, Edouard DUPIN, all right reserved
* @license MPL v2.0 (see license file)
2015-04-10 23:00:13 +02:00
*/
#pragma once
2015-04-10 23:00:13 +02:00
2016-10-02 21:41:55 +02:00
#include <audio/drain/Algo.hpp>
2015-04-10 23:00:13 +02:00
namespace audio {
namespace drain{
class ChannelReorder : public audio::drain::Algo {
protected:
/**
* @brief Constructor
*/
ChannelReorder();
void init();
public:
2016-07-19 21:43:58 +02:00
static ememory::SharedPtr<audio::drain::ChannelReorder> create();
2015-04-10 23:00:13 +02:00
/**
* @brief Destructor
*/
virtual ~ChannelReorder() {};
protected:
virtual void configurationChange();
public:
2015-04-13 21:49:48 +02:00
virtual bool process(audio::Time& _time,
2015-04-10 23:00:13 +02:00
void* _input,
size_t _inputNbChunk,
void*& _output,
size_t& _outputNbChunk);
};
}
}