MOGetAudioChannelOrdering

C Specification

#include <mo/Mobiclip.h>

MOResult MOGetAudioChannelOrdering(const MOInstance* pInstance, MOAudioChannelOrdering *pAudioChannelOrdering)

Arguments

pInstance Instance of the concerned movie.
pAudioChannelOrdering Will contain the current left/right channel interleaving order.

Return Values

MO_RESULT_OK Success.
MO_RESULT_NULL MOInstance pointer is NULL.

Description

That function is used to get the order in witch left and right PCM channels are interleaved when calling the MOGetAudioPacket function.
If the function MOSetAudioChannelOrdering is not called even once, the returned audio channel ordering is MO_AUDIO_CHANNEL_ORDERING_LEFT_FIRST.

See Also

MOSetAudioChannelOrdering

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.