From a1e773eb2d59357bb4af9ae2032cd2f98d58ba31 Mon Sep 17 00:00:00 2001 From: gaitat Date: Sun, 23 Feb 2014 11:24:45 -0500 Subject: [PATCH] Worklist Job #19499 Kick of the build --- libraries/audio/src/Sound.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/audio/src/Sound.cpp b/libraries/audio/src/Sound.cpp index c8c7c0efd4..a403439ec6 100644 --- a/libraries/audio/src/Sound.cpp +++ b/libraries/audio/src/Sound.cpp @@ -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