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

 

SAA_audioGetSamples()

Returns a sequence of samples from an audio track, starting from a specified sample.

set scene [SAA_AllocScene]
set elem [SAA_AllocElem]
.
.
SAA_audioGetNbSamples $scene $elem nbSamples bufSize
set samples [SAA_AllocChar $nbSamples]
SAA_audioGetSampleOffset $scene $elem $sampleOffset $nbSamples $bufSize $samples

Parameters

elem
An audio track.
sampleOffset
The offset from the start of the audio track to the start of the sequence to be returned, in samples.
nbSamples
The number of samples to be returned.
bufSize
The buffer size to hold the samples. To get this value, use SAA_audioGetNbSamples().
samples
Returns an array containing the samples.

See Also

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.