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 @@ -112,8 +112,8 @@ function createWasmAudioWorkletProcessor(audioParams) {
112
112
113
113
// Copy input audio descriptor structs and data to Wasm
114
114
inputsPtr = dataPtr ;
115
- dataPtr += numInputs * { { { C_STRUCTS . AudioSampleFrame . __size__ } } } ;
116
115
k = inputsPtr >> 2 ;
116
+ dataPtr += numInputs * { { { C_STRUCTS . AudioSampleFrame . __size__ } } } ;
117
117
for ( i of inputList ) {
118
118
// Write the AudioSampleFrame struct instance
119
119
HEAPU32 [ k + { { { C_STRUCTS . AudioSampleFrame . numberOfChannels / 4 } } } ] = i . length ;
@@ -129,8 +129,8 @@ function createWasmAudioWorkletProcessor(audioParams) {
129
129
130
130
// Copy parameters descriptor structs and data to Wasm
131
131
paramsPtr = dataPtr ;
132
- dataPtr += numParams * { { { C_STRUCTS . AudioParamFrame . __size__ } } } ;
133
132
k = paramsPtr >> 2 ;
133
+ dataPtr += numParams * { { { C_STRUCTS . AudioParamFrame . __size__ } } } ;
134
134
for ( i = 0 ; paramArray = parameters [ i ++ ] ; ) {
135
135
// Write the AudioParamFrame struct instance
136
136
HEAPU32 [ k + { { { C_STRUCTS . AudioParamFrame . length / 4 } } } ] = paramArray . length ;
@@ -144,8 +144,8 @@ function createWasmAudioWorkletProcessor(audioParams) {
144
144
// Copy output audio descriptor structs to Wasm (note that dataPtr after
145
145
// the struct offsets should now be 16-byte aligned).
146
146
outputsPtr = dataPtr ;
147
- dataPtr += numOutputs * { { { C_STRUCTS . AudioSampleFrame . __size__ } } } ;
148
147
k = outputsPtr >> 2 ;
148
+ dataPtr += numOutputs * { { { C_STRUCTS . AudioSampleFrame . __size__ } } } ;
149
149
for ( i of outputList ) {
150
150
// Write the AudioSampleFrame struct instance
151
151
HEAPU32 [ k + { { { C_STRUCTS . AudioSampleFrame . numberOfChannels / 4 } } } ] = i . length ;
You can’t perform that action at this time.
0 commit comments