DefaultAudioSink.AudioTrackProvider


interface DefaultAudioSink.AudioTrackProvider

Known direct subclasses
DefaultAudioTrackProvider

The default provider for AudioTrack instances.


Provider for AudioTrack instances.

Summary

Constants

const DefaultAudioSink.AudioTrackProvider!

The default provider for AudioTrack instances.

Public functions

AudioTrack!
getAudioTrack(
    audioTrackConfig: AudioSink.AudioTrackConfig!,
    audioAttributes: AudioAttributes!,
    audioSessionId: Int
)

Returns a new AudioTrack for the given parameters.

Constants

DEFAULT

const val DEFAULTDefaultAudioSink.AudioTrackProvider!

The default provider for AudioTrack instances.

Public functions

getAudioTrack

fun getAudioTrack(
    audioTrackConfig: AudioSink.AudioTrackConfig!,
    audioAttributes: AudioAttributes!,
    audioSessionId: Int
): AudioTrack!

Returns a new AudioTrack for the given parameters.