Some checks failed
KnarCraft/FFmpegConvert/master There was a failure building this commit
Fixes packages for use with maven Updates pom Fixes broken link in licence Updates Jenkinsfile
30 lines
812 B
Java
30 lines
812 B
Java
package ffmpegconverter.streams;
|
|
|
|
public class AudioStream extends StreamObject {
|
|
private String language; //The audio language
|
|
private int channels; //Whether mono, stereo, etc
|
|
private String title; //Titles exist
|
|
|
|
public AudioStream(String codec, int absoluteIndex, int relativeIndex, String language, String title, int channels) {
|
|
this.codecType = "audio";
|
|
this.codecName = codec;
|
|
this.absoluteIndex = absoluteIndex;
|
|
this.language = language;
|
|
this.title = title;
|
|
this.relativeIndex = relativeIndex;
|
|
this.channels = channels;
|
|
}
|
|
|
|
public String getLanguage() {
|
|
return this.language;
|
|
}
|
|
|
|
public int getChannels() {
|
|
return this.channels;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return this.title;
|
|
}
|
|
}
|