calculating clip length

This commit is contained in:
ericrius1 2016-02-08 12:36:14 -08:00
parent 6b240dfd5f
commit c169a7cdd5

View file

@ -27,9 +27,13 @@ public:
bool isStereo() const { return _isStereo; }
bool isReady() const { return _isReady; }
const QByteArray& getByteArray() { return _byteArray; }
public slots:
float getClipLength() const { return _clipLength; }
signals:
void ready();
@ -37,6 +41,7 @@ private:
QByteArray _byteArray;
bool _isStereo;
bool _isReady;
float _clipLength;
void downSample(const QByteArray& rawAudioByteArray);
void interpretAsWav(const QByteArray& inputAudioByteArray, QByteArray& outputAudioByteArray);