Encoder

interface Encoder

Provide a encoder interface

Functions

Link copied to clipboard
abstract fun encode(    input: ByteArray,     offset: Int,     size: Int): ByteArray?

Encode an input

Link copied to clipboard
abstract fun flush(): ByteArray?
Link copied to clipboard
abstract fun getCodecName(): String
Link copied to clipboard
abstract fun getMimeType(): String
Link copied to clipboard
abstract fun startEncoding(audioFormat: AudioFormat): Boolean

Start an encoding.

Link copied to clipboard
abstract fun stopEncoding()

Stop the current encoding