MOSkipAudioPacket

C Specification

#include <mo/Mobiclip.h>

MOResult MOSkipAudioPacket(MOInstance* pInstance)

Arguments

pInstance Instance of the concerned movie.

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.
MO_RESULT_NO_VALID_AUDIO_PACKET There is no valid audio packet in the audio queue.

Description

That function will pop one audio block from the library decoded audio queue and discard it.

See Also

MODecode

MOGetAudioPacket

MOGetNextAudioPacketSize

Revision History

02/24/2010 Description about MO_RESULT_NO_AUDIO_TRACK and MO_RESULT_NO_VALID_AUDIO_PACKET return values added.

03/26/2009 Parameter renaming done.

06/22/2008 Initial version.