Sound:getSampleCount

Returns the total number of samples in the Sound.

samples = Sound:getSampleCount()

Arguments

None

Returns

NameTypeDescription
samplesnumberThe total number of samples in the Sound.

Notes

For streams, this returns the number of samples in the stream's buffer.

See also