MOSetAudioChannelOrdering

C Specification

#include <mo/Mobiclip.h>

MOResult MOSetAudioChannelOrdering(MOInstance* pInstance, MOAudioChannelOrdering audioChannelOrdering);

Arguments

pInstance Instance of the concerned movie.
audioChannelOrdering The left/right channel interleaving order to set.

Return Values

MO_RESULT_OK Success.
MO_RESULT_NULL MOInstance pointer is NULL.

Description

That function is used to select the order in witch left and right PCM channels are interleaved when calling the MOGetAudioPacket function.
It has no effect in case of monoral audio.
If this function is not called even once, the default audio channel ordering is MO_AUDIO_CHANNEL_ORDERING_LEFT_FIRST.

See Also

MOGetAudioChannelOrdering

MOGetAudioPacket

Revision History

02/24/2010 Updated Description section with default audio channel ordering when MOSetAudioChannelOrdering function is not called.

10/22/2009 Initial version.