Lines Matching refs:sourceFormat
270 AudioFormat sourceFormat = ais.getFormat();
271 targetFormat = new AudioFormat(sourceFormat.getEncoding(), format
272 .getSampleRate(), sourceFormat.getSampleSizeInBits(),
273 sourceFormat.getChannels(), sourceFormat.getFrameSize(),
274 format.getSampleRate(), sourceFormat.isBigEndian());
297 pitch[0] = sourceFormat.getSampleRate() / format.getSampleRate();
532 public Encoding[] getTargetEncodings(AudioFormat sourceFormat) {
533 if (AudioFloatConverter.getConverter(sourceFormat) == null)
540 AudioFormat sourceFormat) {
541 if (AudioFloatConverter.getConverter(sourceFormat) == null)
543 int channels = sourceFormat.getChannels();
594 AudioFormat sourceFormat) {
595 if (AudioFloatConverter.getConverter(sourceFormat) == null)
599 if (sourceFormat.getChannels() <= 0)
607 AudioFormat sourceFormat) {
608 if (AudioFloatConverter.getConverter(sourceFormat) == null)