#include <nitro/mobiclip.h>u32 MO_BlitFrameSoundOnePacket ( MOHandle handle, s16* outSoundBuffer );
Blit a packet of the current unpacked sound to a user buffer.
The output is in 16 bits PCM format.
To avoid unnecessary copies, give a direct address to your currently playing (circular) sound buffer using outSoundBuffer.
| handle | Valid handle movie. |
| outSoundBuffer | Pointer where the sound frame must be blitted |
1 if no error, 0 if there is no more audio packet available or if the handle is MO_INVALID_HANDLE.
03/03/2008 Initial Version