GetSampleCount
soundFrame:GetSampleCount()
Returns the number of samples in the sound frame.
DISCUSSION
- return value
- An integer indicating the number of samples in the
samples
slot of the sound frame.
First, this method checks for the
length
slot in the sound frame. If that slot exists, its value is returned. If it does not exist or isnil
, this method calculates the number of samples based on the size of the samples binary object divided by the number of bytes in each sample.Note that the
length
slot in the sound frame is set only by the*SetRecordingLength
method.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help