public static AudioQuality parseQuality(String str) {
		AudioQuality quality = DEFAULT_AUDIO_QUALITY.clone();
		if (str != null) {
			String[] config = str.split("-");
			try {
				quality.bitRate = Integer.parseInt(config[0])*1000; // conversion to bit/s
				quality.samplingRate = Integer.parseInt(config[1]);
			}
			catch (IndexOutOfBoundsException ignore) {}
		}
		return quality;
	}
Represents a quality for an audio stream.
@param samplingRate The sampling rate
@param bitRate The bitrate in bit per seconds
src/net/majorkernelpanic/streaming/audio/AudioQuality.java