#include <nitro/vx.h>
u32 VX_GetFrameNbAudioPacket ( VXHandle handle );
Gets the number of audio packets per track for the current frame.
handle |
Valid handle movie. |
The number of audio packets for the current frame for each audio track. 0 if the handle isVX_INVALID_HANDLEor when there is no audio track in the movie. An audio packet size is 128 samples of PCM 16 bits. Each audio track has the same number of packets for any given frame. Total number of audio packets for a given frame will be : VX_GetFrameNbAudioPacket(handle) *VX_GetNbAudioTrack(handle). If you have more than one audio track, the audio packets of the different tracks are interleaved. For example if you have 2 audio tracks, the audio packets are interleaved in this manner : Packet0_Track0, Packet0_Track1, Packet1_Track0, Packet1_Track1, etc ...
10/26/2005 Initial Version