Sound:getCapacity
EditReturns the number of frames that can be written to the Sound. For stream sounds, this is the number of frames that can be written without overwriting existing data. For normal sounds, this returns the same value as Sound:getFrameCount
.
capacity = Sound:getCapacity()
Arguments
None
Returns
Name | Type | Description |
capacity | number | The number of frames that can be written to the Sound. |