Resets the specified OdinMediaStreamHandle
to its initial state, restoring
it to its default configuration. This operation resets the internal Opus encoder/decoder, ensuring a clean state.
Additionally, it clears internal buffers, providing a fresh start.
Declaration
OdinReturnCode odin_audio_reset(OdinMediaStreamHandle stream);
Parameters
stream
Handle of the audio stream to be reset. See OdinMediaStreamHandle
for more
information.
Declaration
OdinMediaStreamHandle stream;
Returns
A return code indicating success or failure. See OdinReturnCode
for more
information.