Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
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.