Skip to content
Permalink
Browse files

optimize a getValue

  • Loading branch information
kripken committed Sep 13, 2016
1 parent 42fecce commit 63200ea395503bf4a6a5951017c57b84771b88ce
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/audio/emscripten/SDL_emscriptenaudio.c
@@ -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);

0 comments on commit 63200ea

Please sign in to comment.