audio-drain/drain/EndPointRead.cpp

44 lines
1.0 KiB
C++
Raw Normal View History

/** @file
* @author Edouard DUPIN
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#include "debug.h"
2015-02-05 19:10:53 +01:00
#include <drain/EndPointRead.h>
2015-01-27 21:26:03 +01:00
#undef __class__
#define __class__ "EndPointRead"
2015-02-05 19:10:53 +01:00
drain::EndPointRead::EndPointRead() {
}
2015-01-29 21:46:01 +01:00
2015-02-05 19:10:53 +01:00
void drain::EndPointRead::init() {
drain::EndPoint::init();
2015-02-01 22:22:42 +01:00
m_type = "EndPointRead";
2015-01-28 22:07:11 +01:00
}
2015-02-05 19:10:53 +01:00
std::shared_ptr<drain::EndPointRead> drain::EndPointRead::create() {
std::shared_ptr<drain::EndPointRead> tmp(new drain::EndPointRead());
2015-01-29 21:46:01 +01:00
tmp->init();
return tmp;
}
2015-02-05 19:10:53 +01:00
void drain::EndPointRead::configurationChange() {
drain::EndPoint::configurationChange();
m_needProcess = true;
}
2015-02-05 19:10:53 +01:00
bool drain::EndPointRead::process(std::chrono::system_clock::time_point& _time,
void* _input,
size_t _inputNbChunk,
void*& _output,
size_t& _outputNbChunk){
2015-02-05 19:10:53 +01:00
drain::AutoLogInOut tmpLog("EndPointRead");
return false;
}