Lines Matching defs:targetFormat
57 AudioFloatFormatConverterInputStream(AudioFormat targetFormat,
60 converter = AudioFloatConverter.getConverter(targetFormat);
61 fsize = ((targetFormat.getSampleSizeInBits() + 7) / 8);
125 private final AudioFormat targetFormat;
135 targetFormat = new AudioFormat(format.getEncoding(), format
151 return targetFormat;
231 private final AudioFormat targetFormat;
271 targetFormat = new AudioFormat(sourceFormat.getEncoding(), format
275 nrofchannels = targetFormat.getChannels();
315 return targetFormat;
452 skipbuffer = new float[1024 * targetFormat.getFrameSize()];
487 AudioFormat targetFormat = new AudioFormat(encoding, samplerate, bits,
489 return getAudioInputStream(targetFormat, sourceStream);
492 public AudioInputStream getAudioInputStream(AudioFormat targetFormat,
494 if (!isConversionSupported(targetFormat, sourceStream.getFormat()))
497 + targetFormat.toString());
498 return getAudioInputStream(targetFormat, AudioFloatInputStream
502 public AudioInputStream getAudioInputStream(AudioFormat targetFormat,
505 if (!isConversionSupported(targetFormat, sourceStream.getFormat()))
508 + targetFormat.toString());
509 if (targetFormat.getChannels() != sourceStream.getFormat()
512 targetFormat.getChannels());
513 if (Math.abs(targetFormat.getSampleRate()
516 targetFormat);
518 targetFormat, sourceStream), targetFormat, sourceStream
593 public boolean isConversionSupported(AudioFormat targetFormat,
597 if (AudioFloatConverter.getConverter(targetFormat) == null)
601 if (targetFormat.getChannels() <= 0)