Media
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private float | |
| public static final int | FRONT_CENTER
Channel mask bit indicating the presence of a front center channel. |
| public static final int | FRONT_LEFT
Channel mask bit indicating the presence of a front left channel. |
| public static final int | FRONT_RIGHT
Channel mask bit indicating the presence of a front right channel. |
| private int | |
| public static final int | REAR_CENTER
Channel mask bit indicating the presence of a rear center channel. |
| public static final int | REAR_LEFT
Channel mask bit indicating the presence of a rear left channel. |
| public static final int | REAR_RIGHT
Channel mask bit indicating the presence of a rear right channel. |
| public static final int | UNKNOWN
Channel mask bit indicating the absence of any channel |
| Access | Constructor and Description |
|---|---|
| public | AudioTrack(boolean
Whether this track is enabled by default or not (if the container supports it) enabled, long A unique identifier for this track trackID, String The name of the track. name, Locale The language information for the track. locale, Track.The encoding of the track. encoding,The number of audio channels in the track. numChannels, int The channel mask of the track. channelMask, float The encoded sample rate in samples per second. encodedSampleRate)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public float | |
| public int | |
| public final String |
| channelMask | back to summary |
|---|---|
| private int channelMask | |
| encodedSampleRate | back to summary |
|---|---|
| private float encodedSampleRate | |
| FRONT_CENTER | back to summary |
|---|---|
| public static final int FRONT_CENTER Channel mask bit indicating the presence of a front center channel. | |
| FRONT_LEFT | back to summary |
|---|---|
| public static final int FRONT_LEFT Channel mask bit indicating the presence of a front left channel. | |
| FRONT_RIGHT | back to summary |
|---|---|
| public static final int FRONT_RIGHT Channel mask bit indicating the presence of a front right channel. | |
| numChannels | back to summary |
|---|---|
| private int numChannels | |
| REAR_CENTER | back to summary |
|---|---|
| public static final int REAR_CENTER Channel mask bit indicating the presence of a rear center channel. | |
| REAR_LEFT | back to summary |
|---|---|
| public static final int REAR_LEFT Channel mask bit indicating the presence of a rear left channel. | |
| REAR_RIGHT | back to summary |
|---|---|
| public static final int REAR_RIGHT Channel mask bit indicating the presence of a rear right channel. | |
| UNKNOWN | back to summary |
|---|---|
| public static final int UNKNOWN Channel mask bit indicating the absence of any channel | |
| AudioTrack | back to summary |
|---|---|
| public AudioTrack(boolean enabled, long trackID, String name, Locale locale, Track. Constructor.
| |
| getChannelMask | back to summary |
|---|---|
| public int getChannelMask() Retrieve the channel mask of the track.
| |
| getEncodedSampleRate | back to summary |
|---|---|
| public float getEncodedSampleRate() Retrieve the encoded sample rate.
| |
| getNumChannels | back to summary |
|---|---|
| public int getNumChannels() Retrieve the number of audio channels in the track.
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |