Register AudioEvent Handler (Encoder)
Registers a callback for audio events. This is the primary way to detect when the user starts or stops talking ('IsSilent' changes). Use the 'Filter' to subscribe to specific events.
- Node type: Callable function. Has execution pins and runs when it is reached in the event graph.
- Target: Odin Encoder
- Menu category: Odin › Audio Pipeline › Events
- C++:
UOdinEncoder::SetAudioEventHandler
note
Any previously registered callback is replaced.
Inputs
| Name | Type | Description |
|---|---|---|
| Target | Odin Encoder | The Odin Encoder to call this function on. |
| Filter | Integer (bitmask of Odin Audio Events) | Bitmask filter for events. Default: 1. |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | Boolean | True if registration was successful. |