Sound:getSampleCount

Edit

Returns the total number of samples in the Sound.

samples = Sound:getSampleCount()

Arguments

None

Returns

NameTypeDescription
samplesnumber The total number of samples in the Sound.

Notes

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

See also