muzgen/lib/Signal.hpp

31 lines
459 B
C++

#ifndef muz_SIGNAL_HPP
#define muz_SIGNAL_HPP
#include "commons.hpp"
namespace muz
{
MUZ_ERROR(signal_error);
/**
* Audio signal interface.
* @see Sine
* @see Constant
**/
class Signal
{
public:
explicit Signal();
virtual ~Signal();
/**
* Get the next frame.
* @param out the output buffer that will contain the next frame.
**/
virtual void next(std::vector<float>& out) = 0;
private:
};
}
#endif