Skip to main content

odin_audio_stats

Retrieves statistics for the specified OdinMediaStreamHandle.

warning

This will only work for output streams.

Declaration
OdinReturnCode odin_audio_stats(OdinMediaStreamHandle stream, struct OdinAudioStreamStats *stats);

Parameters

stream

Handle of the audio stream whose statistics are to be retrieved. See

OdinMediaStreamHandle

for more information.

Declaration
OdinMediaStreamHandle stream;

stats

Pointer to where the retrieved audio statistics will be stored. See

OdinAudioStreamStats

for more information.

Declaration
OdinAudioStreamStats *stats;

Returns

A return code indicating success or failure.

Return Type
OdinReturnCode