Sound:getSampleCount
EditReturns the total number of samples in the Sound.
samples = Sound:getSampleCount()
Arguments
None
Returns
Name | Type | Description |
samples | number | The total number of samples in the Sound. |
Notes
For streams, this returns the number of samples in the stream's buffer.