mumsi/ISamplesBuffer.hpp

15 lines
337 B
C++
Raw Normal View History

2015-10-16 22:41:37 +02:00
#ifndef MUMSI_ISAMPLESBUFFER_HPP
#define MUMSI_ISAMPLESBUFFER_HPP
#include <inttypes.h>
class ISamplesBuffer {
public:
virtual void pushSamples(int16_t *samples, unsigned int length) = 0;
2015-11-02 23:41:49 +01:00
// virtual unsigned int pullSamples(int16_t *samples, unsigned int length, bool waitWhenEmpty) = 0;
2015-10-16 22:41:37 +02:00
};
#endif //MUMSI_ISAMPLESBUFFER_HPP