File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ function createWasmAudioWorkletProcessor(audioParams) {
110
110
// for structs and data is taken; 'structPtr' is reused as the working
111
111
// start to each struct record.
112
112
// Ordinarily 'dataPtr' would be 16-byte aligned, from the internal
113
- // _emscripten_stack_alloc(), as were the output views, but we further
114
- // round up the requested size and advance the required bytes to ensure
115
- // the addresses finish at the stacktop in the end .
113
+ // _emscripten_stack_alloc(), as were the output views, and so to ensure
114
+ // the views fall on the correct addresses ( and we finish at the stacktop)
115
+ // bytes are added and the start advanced .
116
116
entry = ( stackMemoryNeeded + 15 ) & ~ 15 ;
117
117
var dataPtr = stackAlloc ( entry ) + ( entry - stackMemoryNeeded ) ;
118
118
You can’t perform that action at this time.
0 commit comments