DefaultAudioSink.AudioOffloadSupportProvider


interface DefaultAudioSink.AudioOffloadSupportProvider

Known direct subclasses
DefaultAudioOffloadSupportProvider

Provides the AudioOffloadSupport capabilities for a Format and .


Provides the AudioOffloadSupport to convey the level of offload support the sink can provide.

Summary

Public functions

AudioOffloadSupport!
getAudioOffloadSupport(format: Format!, audioAttributes: AudioAttributes!)

Returns the AudioOffloadSupport the audio sink can provide for the media based on its Format and AudioAttributes

Public functions

getAudioOffloadSupport

fun getAudioOffloadSupport(format: Format!, audioAttributes: AudioAttributes!): AudioOffloadSupport!

Returns the AudioOffloadSupport the audio sink can provide for the media based on its Format and AudioAttributes

Parameters
format: Format!

The Format.

audioAttributes: AudioAttributes!

The AudioAttributes.

Returns
AudioOffloadSupport!

The AudioOffloadSupport the sink can provide for the media based on its Format and AudioAttributes.