public class FormatArgUtilsTest extends TestCase
{
public void testAudio() throws ParseException
{
test(new AudioFormat(AudioFormat.LINEAR, 44100.0, 16, 2));
test(new AudioFormat(AudioFormat.LINEAR, 44100.0, 16, 2, AudioFormat.BIG_ENDIAN, AudioFormat.UNSIGNED));
test(new AudioFormat(AudioFormat.LINEAR, 44100.0, 16, 2, AudioFormat.LITTLE_ENDIAN, AudioFormat.UNSIGNED));
test(new AudioFormat(AudioFormat.ULAW_RTP, 8000, 8, 1));
test(new AudioFormat(AudioFormat.GSM_RTP, 8000, Format.NOT_SPECIFIED, 1));
test(new AudioFormat(AudioFormat.G723_RTP, 8000, Format.NOT_SPECIFIED, 1));
test(new AudioFormat(AudioFormat.DVI_RTP, 8000, 4, 1));
test(new AudioFormat(AudioFormat.MPEG_RTP));
test(new AudioFormat(AudioFormat.G728_RTP, 8000.0, Format.NOT_SPECIFIED, 1));
test(new AudioFormat(AudioFormat.DVI_RTP, 11025, 4, 1));
test(new AudioFormat(AudioFormat.DVI_RTP, 22050, 4, 1));
test(new AudioFormat(AudioFormat.G729_RTP, 8000.0, Format.NOT_SPECIFIED, 1));
}