public class AudioInfo extends Object
| Constructor and Description |
|---|
AudioInfo() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBitRate()
Returns the audio stream (average) bit rate.
|
int |
getChannels()
Returns the audio stream channels number (1=mono, 2=stereo).
|
String |
getDecoder()
Returns the audio stream decoder name.
|
int |
getSamplingRate()
Returns the audio stream sampling rate.
|
AudioInfo |
setBitRate(int bitRate)
Sets the audio stream (average) bit rate.
|
AudioInfo |
setChannels(int channels)
Sets the audio stream channels number (1=mono, 2=stereo).
|
AudioInfo |
setDecoder(String format)
Sets the audio stream decoder name.
|
AudioInfo |
setSamplingRate(int samplingRate)
Sets the audio stream sampling rate.
|
String |
toString() |
public String getDecoder()
public AudioInfo setDecoder(String format)
format - The audio stream format name.public int getSamplingRate()
public AudioInfo setSamplingRate(int samplingRate)
samplingRate - The audio stream sampling rate.public int getChannels()
public AudioInfo setChannels(int channels)
channels - The audio stream channels number (1=mono, 2=stereo).public int getBitRate()
public AudioInfo setBitRate(int bitRate)
bitRate - The audio stream (average) bit rate.Copyright © 2020. All rights reserved.