Fix example code in documentation.

This commit is contained in:
David Reid
2021-05-10 21:20:42 +10:00
parent 2d11a3542c
commit dba88558d1
+1
View File
@@ -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 =
{
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.
1, // 1 output bus.
0 // Default flags.