AudioTrack

Java wrapper for a C++ AudioTrackInterface

Constructors

Link copied to clipboard
constructor(nativeTrack: Long)

Inherited properties

Link copied to clipboard
val AUDIO_TRACK_KIND: String = "audio"
Link copied to clipboard
val VIDEO_TRACK_KIND: String = "video"

Functions

Link copied to clipboard
open fun addSink(sink: AudioTrackSink)
Adds an AudioTrackSink to the track.
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun removeSink(sink: AudioTrackSink)
Removes an AudioTrackSink from the track.
Link copied to clipboard
open fun setVolume(volume: Double)
Sets the volume for the underlying MediaSource.

Inherited functions

Link copied to clipboard
open fun enabled(): Boolean
Link copied to clipboard
open fun id(): String
Link copied to clipboard
open fun isDisposed(): Boolean
Link copied to clipboard
open fun kind(): String
Link copied to clipboard
open fun setEnabled(enable: Boolean): Boolean
Link copied to clipboard