Mojentic for Kotlin
Toggle table of contents
2.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Mojentic for Kotlin
mojentic-core
/
com.mojentic.realtime.internal
/
Pcm16AudioCodec
/
decode
decode
fun
decode
(
base64
:
String
,
sampleRateHz
:
Int
=
AudioFrame.DEFAULT_SAMPLE_RATE_HZ
)
:
AudioFrame
Decode a base64 string of little-endian PCM16 bytes back into an
AudioFrame
.