mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-18 07:41:58 +02:00
compiler warning - odd
This commit is contained in:
parent
6d7fab4053
commit
397eb89c14
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ void Agent::computeLoudness(QByteArray* decodedBuffer) {
|
|||
auto scriptedAvatar = DependencyManager::get<ScriptableAvatar>();
|
||||
if (decodedBuffer) {
|
||||
auto soundData = reinterpret_cast<const int16_t*>(decodedBuffer->constData());
|
||||
auto numFrames = decodedBuffer->size() / sizeof(int16_t);
|
||||
int numFrames = decodedBuffer->size() / sizeof(int16_t);
|
||||
// now iterate and come up with average
|
||||
if (numFrames > 0) {
|
||||
for(int i = 0; i < numFrames; i++) {
|
||||
|
|
Loading…
Reference in a new issue