Skip to main content

odin_encoder_is_silent

bool odin_encoder_is_silent(struct OdinEncoder *encoder);

Overview

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

Parameters

NameTypeDescription
encoderstruct OdinEncoder *The encoder handle.

Return Value

TypeDescription
booltrue if silent or invalid, false otherwise.