mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 01:04:06 +02:00
parent
edd99f93de
commit
a1e773eb2d
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ Sound::Sound(const QUrl& sampleURL, QObject* parent) :
|
|||
}
|
||||
|
||||
void Sound::replyFinished(QNetworkReply* reply) {
|
||||
|
||||
// replace our byte array with the downloaded data
|
||||
QByteArray rawAudioByteArray = reply->readAll();
|
||||
|
||||
|
@ -66,6 +67,7 @@ void Sound::replyFinished(QNetworkReply* reply) {
|
|||
}
|
||||
|
||||
void Sound::downSample(const QByteArray& rawAudioByteArray) {
|
||||
|
||||
// assume that this was a RAW file and is now an array of samples that are
|
||||
// signed, 16-bit, 48Khz, mono
|
||||
|
||||
|
|
Loading…
Reference in a new issue