Skip to main content

odin_decoder_is_silent

bool odin_decoder_is_silent(struct OdinDecoder *decoder);

Overview

Returns whether the decoder is currently processing silence. This reflects the internal silence detection state of the decoder, which updates as audio is processed. If the provided handle is invalid, the function returns true for safety.

Parameters

NameTypeDescription
decoderstruct OdinDecoder *The decoder handle.

Return Value

TypeDescription
booltrue if silent or invalid, false otherwise.