Skip to content

Commit

Permalink
optimize a getValue
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Sep 13, 2016
1 parent 42fecce commit 63200ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/emscripten/SDL_emscriptenaudio.c
Expand Up @@ -127,7 +127,7 @@ HandleAudioProcess(_THIS)
}

for (var j = 0; j < $1; ++j) {
channelData[j] = getValue($0 + (j*numChannels + c)*4, 'float');
channelData[j] = HEAPF32[$0 + ((j*numChannels + c) << 2) >> 2];
}
}
}, buf, byte_len / bytes / this->spec.channels);
Expand Down

0 comments on commit 63200ea

Please sign in to comment.