#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 sample. * @return std::vector of size N for a sample of N channels or an empty vector at end. * **/ virtual std::vector next() = 0; private: }; } #endif