Skip to main content
Version: 2.x

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.

note

Any previously registered callback is replaced.

Inputs​

NameTypeDescription
TargetOdin DecoderThe Odin Decoder to call this function on.
FilterInteger (bitmask of Odin Audio Events)Bitmask filter for events.

Outputs​

NameTypeDescription
Return ValueBooleanTrue if registration was successful.