mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
emit a ready signal if Sound has downloaded
This commit is contained in:
parent
3fa0bcbcd9
commit
52716b8f95
2 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,7 @@ void Sound::downloadFinished(const QByteArray& data) {
|
|||
}
|
||||
|
||||
_isReady = true;
|
||||
emit ready();
|
||||
}
|
||||
|
||||
void Sound::downSample(const QByteArray& rawAudioByteArray) {
|
||||
|
|
|
@ -30,6 +30,9 @@ public:
|
|||
|
||||
const QByteArray& getByteArray() { return _byteArray; }
|
||||
|
||||
signals:
|
||||
void ready();
|
||||
|
||||
private:
|
||||
QByteArray _byteArray;
|
||||
bool _isStereo;
|
||||
|
|
Loading…
Reference in a new issue