public final class AudioTrackInfo
extends java.lang.Object
AudioTrackInfo
- audio track specific info.Modifier and Type | Field and Description |
---|---|
int |
channels
number of channels.
|
int |
rate
sampling rate.
|
java.lang.Object |
tag
tag associated with the audio track info.
|
Constructor and Description |
---|
AudioTrackInfo(int rate,
int channels)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static AudioTrackInfo |
getAudioTrackInfo(AudioFrame frame) |
int |
hashCode() |
java.lang.String |
toString() |
public final int rate
public final int channels
public java.lang.Object tag
public AudioTrackInfo(int rate, int channels)
rate
- channels
- public static AudioTrackInfo getAudioTrackInfo(AudioFrame frame)
frame
- public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object