public final class AudioAttributes
extends java.lang.Object
AudioTrack.
To set the audio attributes, create an instance using the AudioAttributes.Builder and either pass it to
SimpleExoPlayer.setAudioAttributes(AudioAttributes) or
send a message of type C.MSG_SET_AUDIO_ATTRIBUTES to the audio renderers.
This class is based on AudioAttributes, but can be used on all supported
API versions.
| Modifier and Type | Class and Description |
|---|---|
static class |
AudioAttributes.Builder
Builder for
AudioAttributes. |
| Modifier and Type | Field and Description |
|---|---|
int |
contentType |
static AudioAttributes |
DEFAULT |
int |
flags |
int |
usage |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public static final AudioAttributes DEFAULT
public final int contentType
public final int flags
public final int usage