vcanim.gif (8357 bytes)SAA_audioGetFrameSamples()
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

SAA_audioGetFrameSamples()

Gets the audio samples for a frame from an audio track.

set scene [SAA_AllocScene]
set elem [SAA_AllocElem]
.
.
SAA_audioGetFramesNbSamples $scene $elem mnSamples bufSize
set samples {SAA_AllocChar bufSize]
SAA_audioGetFrameSamples $scene $elem syncFrames FRAME# $nbSamples $bufsize $samples

Parameters

elem
An audio track.
frameNo
The frame number whose audio samples to return.
nbSamples
The number of samples to be returned. To get this value, use SAA_audioGetFrameNbSamples()
bufSize
The buffer size to hold the samples. To get this value, use SAA_audioGetFrameNbSamples().
samples
Returns an array containing the samples.

See Also

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.