Sound:getFrameCount
EditReturns the number of frames in the Sound. A frame stores one sample for each channel.
frames = Sound:getFrameCount()
Arguments
None
Returns
Name | Type | Description |
frames | number | The number of frames in the Sound. |
Notes
For streams, this returns the number of frames in the stream's buffer.