AudioSource

Created by svennaehler on 16.12.16.

open class AudioSource : MediaSource

Types

Companion
Link copied to clipboard
object Companion

Functions

createSampleBuffer
Link copied to clipboard
open override fun createSampleBuffer(): ByteBuffer
describeContents
Link copied to clipboard
open fun describeContents(): Int
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
fillAudioTrackBuffer
Link copied to clipboard
fun fillAudioTrackBuffer()
getDecoder
Link copied to clipboard
fun getDecoder(): <ERROR CLASS>
getFormat
Link copied to clipboard
open override fun getFormat(): <ERROR CLASS>
getPlayTimeInNanoseconds
Link copied to clipboard
fun getPlayTimeInNanoseconds(): Long
hasAudio
Link copied to clipboard
fun hasAudio(): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
hasResourceId
Link copied to clipboard
fun hasResourceId(): Boolean
pause
Link copied to clipboard
fun pause()
play
Link copied to clipboard
fun play()
pullNextRawData
Link copied to clipboard
open fun pullNextRawData(onFrameReached: (<ERROR CLASS>, ByteArray) -> Unit): Boolean
abstract override fun pullNextRawData(onFrameReached: (<ERROR CLASS>, ByteArray) -> Unit): Boolean
pullNextSampleData
Link copied to clipboard
open override fun pullNextSampleData(buffer: ByteBuffer, info: <ERROR CLASS>)
release
Link copied to clipboard
fun release()
seekTo
Link copied to clipboard
fun seekTo(timeUs: Long, mode: Int)
selectAudioTrack
Link copied to clipboard
fun selectAudioTrack()
toString
Link copied to clipboard
open override fun toString(): String
writeToParcel
Link copied to clipboard
open fun writeToParcel(parcel: <ERROR CLASS>, flags: Int)

Properties

audioFormat
Link copied to clipboard
var audioFormat: <ERROR CLASS>
audioTrackIndex
Link copied to clipboard
var audioTrackIndex: Int
bitRate
Link copied to clipboard
var bitRate: Int
bufferSize
Link copied to clipboard
var bufferSize: Int
channelCount
Link copied to clipboard
var channelCount: Int
channelMode
Link copied to clipboard
var channelMode: Int
extractor
Link copied to clipboard
val extractor: <ERROR CLASS>
isDecoderRunning
Link copied to clipboard
val isDecoderRunning: Boolean
playAsOutput
Link copied to clipboard
var playAsOutput: Boolean
playStartTimeInNanoseconds
Link copied to clipboard
var playStartTimeInNanoseconds: Long
sampleRate
Link copied to clipboard
var sampleRate: Int
streamFormatAvailable
Link copied to clipboard
var streamFormatAvailable: Boolean