Package com. oto. deeptonesdk. utils
Types
InvalidModelFile
Link copied to clipboard
SdkNotStarted
Link copied to clipboard
UnexpectedError
Link copied to clipboard
Functions
decodeAudioFileDescriptor
Link copied to clipboard
fun decodeAudioFileDescriptor(audioFileDescriptor: AssetFileDescriptor): FloatArray
Content copied to clipboard
Receives an AssetFileDescriptor of an audio file and returns FloatArray containing the raw decoded audio.
fun decodeAudioFileDescriptor(audioFileDescriptor: FileDescriptor): FloatArray
Content copied to clipboard
Receives a FileDescriptor for an audio file and returns FloatArray containing the raw decoded audio.
Receives a String representing a file-path or http URL of an audio file and returns FloatArray containing the raw decoded audio.