Skip to content

Commit 943fb11

Browse files
committed
Renamed 'qs' (render quantum size) to 'sc' (samples per channel)
Following the rest of the renaming.
1 parent f38b55c commit 943fb11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/audio_worklet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function createWasmAudioWorkletProcessor(audioParams) {
3636
// 1.1: the typed array passed to process() should be the same size as this
3737
// 'render quantum size', and this exercise of passing in the value
3838
// shouldn't be required (to be verified).
39-
this.samplesPerChannel = opts['qs'];
39+
this.samplesPerChannel = opts['sc'];
4040
}
4141

4242
static get parameterDescriptors() {

src/library_webaudio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ let LibraryWebAudio = {
296296
processorOptions: {
297297
'cb': callback,
298298
'ud': userData,
299-
'qs': emscriptenGetContextQuantumSize(contextHandle)
299+
'sc': emscriptenGetContextQuantumSize(contextHandle)
300300
}
301301
} : void 0;
302302

0 commit comments

Comments
 (0)