Lines Matching refs:sourceStream
130 public AudioInputStream getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream){
131 AudioFormat sourceFormat = sourceStream.getFormat();
134 if( !isConversionSupported(targetEncoding,sourceStream.getFormat()) ) {
135 throw new IllegalArgumentException("Unsupported conversion: " + sourceStream.getFormat().toString() + " to " + targetEncoding.toString());
138 return sourceStream;
163 throw new IllegalArgumentException("Unsupported conversion: " + sourceStream.getFormat().toString() + " to " + targetEncoding.toString());
165 return getConvertedStream(targetFormat, sourceStream);
169 public AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream){
170 if (!isConversionSupported(targetFormat, sourceStream.getFormat()))
172 + sourceStream.getFormat().toString() + " to "
174 return getConvertedStream( targetFormat, sourceStream );