break;
case FileFormats.FMT_FLAC_OGG_16:
writeFlacStream(s, true, 16);
break;
case FileFormats.FMT_WAVE_U32:
throw new NotImplementedException();
case FileFormats.FMT_VORBIS_OGG:
writeOggVorbisStream(s);
break;
case FileFormats.FMT_MP3:
writeMp3Stream(s);
break;
case FileFormats.FMT_MPC7_16: // will we ever support that? or is MPC8 enough?
case FileFormats.FMT_MPC8_16:
case FileFormats.FMT_WAVE_S8:
case FileFormats.FMT_WAVE_U16:
case FileFormats.FMT_WAVE_U24:
throw new NotImplementedException();
default:
throw new IllegalArgumentException();
}
}