AudioFormat.Encoding[] encodings = getTargetEncodings(sourceFormat); for (Encoding element : encodings) { if (targetEncoding.equals(element)) { return true; } } return false;
AudioFormat[] formats = getTargetFormats(targetFormat.getEncoding(), sourceFormat); for (AudioFormat element : formats) { if (targetFormat.equals(element)) { return true; } } return false;
AudioFormat.Encoding[] encodings = getSourceEncodings(); for (Encoding element : encodings) { if (sourceEncoding.equals(element)) { return true; } } return false;
AudioFormat.Encoding[] encodings = getTargetEncodings(); for (Encoding element : encodings) { if (targetEncoding.equals(element)) { return true; } } return false;