mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 08:44:04 +02:00
Fix example code in documentation.
This commit is contained in:
@@ -481,6 +481,7 @@ pointer to the processing function and the number of input and output buses. Exa
|
|||||||
static ma_node_vtable my_custom_node_vtable =
|
static ma_node_vtable my_custom_node_vtable =
|
||||||
{
|
{
|
||||||
my_custom_node_process_pcm_frames, // The function that will be called process your custom node. This is where you'd implement your effect processing.
|
my_custom_node_process_pcm_frames, // The function that will be called process your custom node. This is where you'd implement your effect processing.
|
||||||
|
NULL, // Optional. A callback for calculating the number of input frames that are required to process a specified number of output frames.
|
||||||
2, // 2 input buses.
|
2, // 2 input buses.
|
||||||
1, // 1 output bus.
|
1, // 1 output bus.
|
||||||
0 // Default flags.
|
0 // Default flags.
|
||||||
|
|||||||
Reference in New Issue
Block a user