MOGetActiveAudioTrack

C Specification

#include <mo/Mobiclip.h>

MOResult MOGetActiveAudioTrack(const MOInstance* pInstance, u32 *pActiveAudioTrack)

Arguments

pInstance Instance of the concerned movie.
pActiveAudioTrack Will contain the active audio track index.

Return Values

MO_RESULT_OK Success.
MO_RESULT_NULL MOInstance pointer is NULL.
MO_RESULT_NOT_OPENED A successfull call to MOOpen function have not been done before, or open process not complete yet.
MO_RESULT_NO_AUDIO_TRACK There is no audio track in the movie data.

Description

That function will return the active audio track index.

See Also

MOGetAudioTracks

MOSetActiveAudioTrack

Revision History

02/24/2010 Description about MO_RESULT_NO_AUDIO_TRACK return value added.

03/26/2009 Initial version.