The length
property of the OfflineAudioContext
interface returns an integer representing the size of the buffer in sample-frames.
Syntax
var length = OfflineAudioContext.length;
Value
An integer representing the size of the buffer in sample-frames.
Specifications
Specification | Status | Comment |
---|---|---|
Web Audio API The definition of 'length' in that specification. |
Working Draft | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
length | Chrome Full support 51 | Edge Full support 14 | Firefox Full support Yes | IE No support No | Opera Full support 38 | Safari No support No | WebView Android Full support 51 | Chrome Android Full support 51 | Firefox Android Full support Yes | Opera Android Full support 41 | Safari iOS No support No | Samsung Internet Android Full support 5.0 |
Legend
- Full support
- Full support
- No support
- No support