MOSetActiveAudioTrack

C Specification

#include <mo/Mobiclip.h>

MOResult MOSetActiveAudioTrack(const MOInstance* pInstance, u32 activeAudioTrack)

Arguments

pInstance Instance of the concerned movie.
activeAudioTrack Will contain the wanted audio track index to activate.

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 such wanted audio track index in the movie data.

Description

That function will activate the wanted audio track.

See Also

MOGetAudioTracks

MOGetActiveAudioTrack

Revision History

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

03/26/2009 Initial version.