mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Clarification to some documentation.
This commit is contained in:
+11
-2
@@ -2202,10 +2202,19 @@ and include the following:
|
||||
+-----------------------------------------+---------------------------------------------------+
|
||||
| MA_NODE_FLAG_CONTINUOUS_PROCESSING | Causes the processing callback to be called even |
|
||||
| | when no data is available to be read from input |
|
||||
| | attachments. This is useful for effects like |
|
||||
| | attachments. When a node has at least one input |
|
||||
| | bus, but there are no inputs attached or the |
|
||||
| | inputs do not deliver any data, the node's |
|
||||
| | processing callback will not get fired. This flag |
|
||||
| | will make it so the callback is always fired |
|
||||
| | regardless of whether or not any input data is |
|
||||
| | received. This is useful for effects like |
|
||||
| | echos where there will be a tail of audio data |
|
||||
| | that still needs to be processed even when the |
|
||||
| | original data sources have reached their ends. |
|
||||
| | original data sources have reached their ends. It |
|
||||
| | may also be useful for nodes that must always |
|
||||
| | have their processing callback fired when there |
|
||||
| | are no inputs attached. |
|
||||
+-----------------------------------------+---------------------------------------------------+
|
||||
| MA_NODE_FLAG_ALLOW_NULL_INPUT | Used in conjunction with |
|
||||
| | `MA_NODE_FLAG_CONTINUOUS_PROCESSING`. When this |
|
||||
|
||||
Reference in New Issue
Block a user