PlasmoVoice
Toggle table of contents
2.1.9
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
PlasmoVoice
common
/
su.plo.voice.api.util
/
AudioUtil
/
floatsRangeToShort
floats
Range
To
Short
open
fun
floatsRangeToShort
(
input
:
Array
<
Float
>
)
:
Array
<
Short
>
Converts floats in the range [-1, 1] to shorts.
Return
The shorts.
Parameters
input
The float array to convert.