public class JizzJump3rTrackAudioWriterImpl implements JizzTrackAudioWriter {
@Override
public InputStream encode(JizzTrackAudioFormat format, InputStream source)
throws IOException, UnsupportedTrackTypeException {
if (format.getFormat() != JizzTrackAudioFormat.Format.MP3) {
throw new UnsupportedTrackTypeException("Only MP3 encoding "
+ "supported");
}
AudioFormat sourceFormat = new AudioFormat(
AudioFormat.Encoding.PCM_SIGNED,