Register AudioEvent Handler (Decoder)
Registers a callback to receive decoder audio events. The filter determines which event types will trigger the callback, allowing selective handling.
- Node type: Callable function. Has execution pins and runs when it is reached in the event graph.
- Target: Odin Decoder
- Menu category: Odin › Audio Pipeline › Events
- C++:
UOdinDecoder::SetAudioEventHandler
note
Any previously registered callback is replaced.
Inputs
| Name | Type | Description |
|---|---|---|
| Target | Odin Decoder | The Odin Decoder to call this function on. |
| Filter | Integer (bitmask of Odin Audio Events) | Bitmask filter for events. |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | Boolean | True if registration was successful. |