VX_SkipFrameSoundOnePacket


C Specification

#include <nitro/vx.h>

u32     VX_SkipFrameSoundOnePacket  ( VXHandle handle );

Description

Skips 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 would do the following code sequence :
	VX_BlitFrameSoundOnePacket, VX_SkipFrameSoundOnePacket times the value returned by VX_GetFrameNbAudioPacket
. If you want to play the Japanese track you would do the following code sequence :
	VX_SkipFrameSoundOnePacket, VX_BlitFrameSoundOnePacket times the value returned by VX_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 VX_INVALID_HANDLE.

See Also

VX_BlitFrameSoundOnePacket

Revision History

10/26/2005 Initial Version