AudioStream:getCapacity

Edit

Returns the size of the AudioStream ring buffer, in frames.

capacity = AudioStream:getCapacity()

Arguments

None

Returns

NameTypeDescription
capacitynumber The number of audio frames in the audio stream ring buffer.

See also