Sound:getCapacity

Returns 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

NameTypeDescription
capacitynumber The number of frames that can be written to the Sound.

See also