AudioDecoder

Created by pedro on 20/06/17.

Constructors

Link copied to clipboard
constructor(getMicrophoneData: GetMicrophoneData, audioDecoderInterface: AudioDecoderInterface, decoderInterface: DecoderInterface)

Properties

Link copied to clipboard
Link copied to clipboard
open val isStereo: Boolean
Link copied to clipboard
open val sampleRate: Int
Link copied to clipboard
open val size: Int

Functions

Link copied to clipboard
open fun getDuration(): Double
Link copied to clipboard
open fun getTime(): Double
Link copied to clipboard
open fun initExtractor(fileDescriptor: FileDescriptor): Boolean
open fun initExtractor(filePath: String): Boolean
open fun initExtractor(context: Context, uri: Uri): Boolean
Link copied to clipboard
open fun isLoopMode(): Boolean
Link copied to clipboard
open fun isMuted(): Boolean
Link copied to clipboard
open fun isRunning(): Boolean
Link copied to clipboard
open fun moveTo(time: Double)
Link copied to clipboard
open fun mute()
Link copied to clipboard
open fun prepareAudio(): Boolean
Link copied to clipboard
open fun setGetMicrophoneData(getMicrophoneData: GetMicrophoneData)
Link copied to clipboard
open fun setLoopMode(loopMode: Boolean)
Link copied to clipboard
open fun start()
Link copied to clipboard
open fun stop()
Link copied to clipboard
open fun unMute()