Sound:getByteStride

Edit

Returns the byte stride of the Sound. This is the size of each frame, in bytes. For example, a stereo sound with a 32-bit floating point format would have a stride of 8 (4 bytes per sample, and 2 samples per frame).

stride = Sound:getByteStride()

Arguments

None

Returns

NameTypeDescription
stridenumber The size of a frame, in bytes.

See also