public class AudioTrack extends Track
Modifier and Type | Class and Description |
---|---|
static class |
AudioTrack.AudioCodec |
Track.Codec
decoderInfo, decoderSpecificInfo, protection, tkhd
Constructor and Description |
---|
AudioTrack(Box trak,
MP4InputStream in) |
Modifier and Type | Method and Description |
---|---|
double |
getBalance()
The balance is a floating-point number that places mono audio tracks in a
stereo space: 0 is centre (the normal value), full left is -1.0 and full
right is 1.0.
|
int |
getChannelCount()
Returns the number of channels in this audio track.
|
Track.Codec |
getCodec() |
int |
getSampleRate()
Returns the sample rate of this audio track.
|
int |
getSampleSize()
Returns the sample size in bits for this track.
|
Type |
getType() |
double |
getVolume() |
findDecoderSpecificInfo, getCreationTime, getDecoderInfo, getDecoderSpecificInfo, getLanguage, getLocation, getModificationTime, getProtection, hasMoreFrames, isEnabled, isInFile, isUsed, isUsedForPreview, parseSampleEntry, readNextFrame, seek
public AudioTrack(Box trak, MP4InputStream in)
public Track.Codec getCodec()
public double getBalance()
public int getChannelCount()
public int getSampleRate()
public int getSampleSize()
public double getVolume()