toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.codecs
/
AudioData
Audio
Data
open
external
class
AudioData
(
init
:
AudioDataInit
)
:
Transferable
(
source
)
MDN Reference
Members
Constructors
Audio
Data
Link copied to clipboard
constructor
(
init
:
AudioDataInit
)
Properties
duration
Link copied to clipboard
val
duration
:
JsLong
MDN Reference
format
Link copied to clipboard
val
format
:
AudioSampleFormat
?
MDN Reference
number
Of
Channels
Link copied to clipboard
val
numberOfChannels
:
Int
MDN Reference
number
Of
Frames
Link copied to clipboard
val
numberOfFrames
:
Int
MDN Reference
sample
Rate
Link copied to clipboard
val
sampleRate
:
Float
MDN Reference
timestamp
Link copied to clipboard
val
timestamp
:
JsLong
MDN Reference
Functions
allocation
Size
Link copied to clipboard
fun
allocationSize
(
options
:
AudioDataCopyToOptions
)
:
Int
MDN Reference
clone
Link copied to clipboard
fun
clone
(
)
:
AudioData
MDN Reference
close
Link copied to clipboard
fun
close
(
)
MDN Reference
copy
To
Link copied to clipboard
fun
copyTo
(
destination
:
AllowSharedBufferSource
,
options
:
AudioDataCopyToOptions
)
MDN Reference