AudioDataInit
Generated.swift:574class AudioDataInit
class AudioDataInit
import DOM
class BridgedDictionary
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
convenience init(format: AudioSampleFormat, sampleRate: Float, numberOfFrames: UInt32, numberOfChannels: UInt32, timestamp: Int64, data: BufferSource, transfer: [ArrayBuffer])
required init(unsafelyWrapping object: JSObject)
@ReadWriteAttribute var data: BufferSource { get set }
@ReadWriteAttribute var format: AudioSampleFormat { get set }
@ReadWriteAttribute var numberOfChannels: UInt32 { get set }
@ReadWriteAttribute var numberOfFrames: UInt32 { get set }
@ReadWriteAttribute var sampleRate: Float { get set }
@ReadWriteAttribute var timestamp: Int64 { get set }
@ReadWriteAttribute var transfer: [ArrayBuffer] { get set }