mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 18:55:01 +02:00
calculating clip length
This commit is contained in:
parent
6b240dfd5f
commit
c169a7cdd5
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue