Skip to content

Commit 859451a

Browse files
committed
Docs
1 parent 98b9da0 commit 859451a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

site/source/docs/api_reference/wasm_audio_worklets.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ Once a class type is instantiated on the Web Audio graph and the graph is
4747
running, a C/C++ function pointer callback will be invoked for each 128
4848
samples of the processed audio stream that flows through the node. Newer Web
4949
Audio API specs allow this to be changed, so for future compatibility use the
50-
``AudioSampleFrame``'s ``samplesPerChannel`` to get the value.
50+
``AudioSampleFrame``'s ``samplesPerChannel`` to get the value (and request the
51+
preferred number of samples with ``EmscriptenWebAudioCreateAttributes``'s
52+
``renderSizeHint`` option).
5153

5254
This callback will be executed on a dedicated separate audio processing
5355
thread with real-time processing priority. Each Web Audio context will

0 commit comments

Comments
 (0)