MO_SkipFrameSoundOnePacket

C Specification

#include <nitro/mobiclip.h>

u32 MO_SkipFrameSoundOnePacket ( MOHandle handle );

Description

Skip a packet of the current unpacked sound.
This function is useful if you want to skip one or more audio tracks.

Example: if you have 2 audio tracks, the first in English and the second in Japanese

. If you want to play the English track you will do the following code sequence :
MO_BlitFrameSoundOnePacket, MO_SkipFrameSoundOnePacket times the value returned by MO_GetFrameNbAudioPacket

. If you want to play the Japanese track you will do the following code sequence :
MO_SkipFrameSoundOnePacket, MO_BlitFrameSoundOnePacket times the value returned by MO_GetFrameNbAudioPacket

Arguments

handle Valid handle movie.

Return Values

1 if no error, 0 if there is no more audio packet available or if the handle is MO_INVALID_HANDLE.

See Also

MO_BlitFrameSoundOnePacket

Revision History

03/03/2008 Initial Version