You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create Wasm AudioWorklet thread. Call this function once at application startup to establish an AudioWorkletGlobalScope for your app.
63
63
// After the scope has been initialized, the given callback will fire.
64
64
// audioContext: The Web Audio context object to initialize the Wasm AudioWorklet thread on. Each AudioContext can have only one AudioWorklet
65
-
// thread running, so do not call this function a multiple times on the same AudioContext.
65
+
// thread running, so do not call this function multiple times on the same AudioContext.
66
66
// stackLowestAddress: The base address for the thread's stack. Must be aligned to 16 bytes. Use e.g. memalign(16, 1024) to allocate a 1KB stack for the thread.
67
67
// stackSize: The size of the thread's stack. Must be a multiple of 16 bytes.
68
68
// callback: The callback function that will be run when thread creation either succeeds or fails.
@@ -76,8 +76,8 @@ typedef int WEBAUDIO_PARAM_AUTOMATION_RATE;
76
76
typedefstructWebAudioParamDescriptor
77
77
{
78
78
floatdefaultValue; // Default == 0.0
79
-
floatminValue; // Default = -3.4028235e38;
80
-
floatmaxValue; // Default = 3.4028235e38;
79
+
floatminValue; // Default = -3.4028235e38
80
+
floatmaxValue; // Default = 3.4028235e38
81
81
WEBAUDIO_PARAM_AUTOMATION_RATEautomationRate; // Either WEBAUDIO_PARAM_A_RATE or WEBAUDIO_PARAM_K_RATE. Default = WEBAUDIO_PARAM_A_RATE
// Returns the number of samples processed per channel in an AudioSampleFrame, fixed at 128 in the Web Audio API 1.0 specification, and valid for the lifetime of the audio context.
99
-
// For this to change from the default 128, the context would need creating with a yet unexposed WebAudioWorkletProcessorCreateOptions renderSizeHint, part of the 1.1 Web Audio API.
99
+
// For this to change from the default 128, the context would need to be created with a yet unexposed WebAudioWorkletProcessorCreateOptions renderSizeHint, part of the 1.1 Web Audio API.
0 commit comments