DefaultAudioSink.AudioTrackProvider


public interface DefaultAudioSink.AudioTrackProvider

Known direct subclasses
DefaultAudioTrackProvider

The default provider for AudioTrack instances.


Provider for AudioTrack instances.

Summary

Constants

default static final DefaultAudioSink.AudioTrackProvider

The default provider for AudioTrack instances.

Public methods

abstract AudioTrack
getAudioTrack(
    AudioSink.AudioTrackConfig audioTrackConfig,
    AudioAttributes audioAttributes,
    int audioSessionId
)

Returns a new AudioTrack for the given parameters.

Constants

DEFAULT

default static final DefaultAudioSink.AudioTrackProvider DEFAULT

The default provider for AudioTrack instances.

Public methods

getAudioTrack

abstract AudioTrack getAudioTrack(
    AudioSink.AudioTrackConfig audioTrackConfig,
    AudioAttributes audioAttributes,
    int audioSessionId
)

Returns a new AudioTrack for the given parameters.