AFV initial commit

This commit is contained in:
Roland Rossgotterer
2019-09-14 21:18:26 +02:00
committed by Mat Sutcliffe
parent 7030302e73
commit b5a2f2ad13
100 changed files with 6821 additions and 25 deletions

View File

@@ -0,0 +1,21 @@
#ifndef SAMPLEPROVIDER_H
#define SAMPLEPROVIDER_H
#include "blacksound/blacksoundexport.h"
#include <QObject>
#include <QVector>
class BLACKSOUND_EXPORT ISampleProvider : public QObject
{
Q_OBJECT
public:
ISampleProvider(QObject *parent = nullptr) : QObject(parent) {}
virtual ~ISampleProvider() {}
virtual int readSamples(QVector<qint16> &samples, qint64 count) = 0;
virtual bool isFinished() { return false; }
};
#endif // SAMPLEPROVIDER_H