AudioChanged

data class AudioChanged(val oldAudioTrack: AudioTrack?, val newAudioTrack: AudioTrack?) : SourceEvent

Deprecated

Use SourceEvent.AudioTrackChanged instead

Emitted when the selected AudioTrack changed.

Deprecated. Use SourceEvent.AudioTrackChanged instead.

Constructors

Link copied to clipboard
constructor(oldAudioTrack: AudioTrack?, newAudioTrack: AudioTrack?)

Properties

Link copied to clipboard
@SerialName(value = "targetAudio")
val newAudioTrack: AudioTrack?

The AudioTrack after the change.

Link copied to clipboard
@SerialName(value = "sourceAudio")
val oldAudioTrack: AudioTrack?

The AudioTrack before the change.