32 lines
599 B
C++
32 lines
599 B
C++
/**
|
|
* @author Edouard DUPIN
|
|
*
|
|
* @copyright 2014, Edouard DUPIN, all right reserved
|
|
*
|
|
* @license BSD v3 (see license file)
|
|
*/
|
|
|
|
#ifndef __EAUDIOFX_BUFFER_H__
|
|
#define __EAUDIOFX_BUFFER_H__
|
|
|
|
#include <eaudiofx/core/audio.h>
|
|
#include <eaudiofx/core/Block.h>
|
|
|
|
namespace eaudiofx {
|
|
class Block;
|
|
class Buffer {
|
|
public:
|
|
Buffer(eaudiofx::Block& _parent);
|
|
virtual ~Buffer(void) {};
|
|
protected:
|
|
eaudiofx::Block& m_parent; //!< parrent Block of this Buffer
|
|
protected:
|
|
double m_timestamp; //!< current buffer time;
|
|
double m_time; //!< current buffer data time size;
|
|
};
|
|
};
|
|
|
|
#endif
|
|
|
|
|