allocationSize

open external fun allocationSize(options: AudioDataCopyToOptions): Int(source)

The allocationSize() method of the AudioData interface returns the size in bytes required to hold the current sample as filtered by options passed into the method.

MDN Reference