change AudioFormat.getSampleFormat to AudioFormat.getFormat and add Java
test.
Small audio channel test for fun.