/*
* Created on 2004/09/06
* Author aki@www.xucker.jpn.org
* License Apache2.0 or Common Public License
*/
package org.jpn.xucker.wavconvert;
/**
*
*
*/
public class AudioFormat{
public static final String WAV="wav";
public static final String AU="au";
public AudioFormat(){
}
public AudioFormat(String type,int bit,int rate,int channel){
this.type=type;
this.bit=bit;
this.rate=rate;
this.channel=channel;
}
public int getBit() {
return bit;
}
public void setBit(int bit) {
this.bit = bit;
}
public int getChannel() {
return channel;
}
public void setChannel(int channel) {
this.channel = channel;
}
public int getRate() {
return rate;
}
public void setRate(int rate) {
this.rate = rate;
}
private int channel=1;
private int bit=8;
private int rate=44100;
private String type=WAV;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}
|