Searched refs:sourceStream (Results 1 - 7 of 7) sorted by relevance
/openjdk7/jdk/src/share/classes/javax/sound/sampled/spi/ |
H A D | FormatConversionProvider.java | 178 * @param sourceStream stream from which data to be processed should be read 183 public abstract AudioInputStream getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream); argument 190 * @param sourceStream stream from which data to be processed should be read 195 public abstract AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream); argument
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SunCodec.java | 89 public abstract AudioInputStream getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream); argument 92 public abstract AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream); argument
|
H A D | AudioFloatFormatConverter.java | 476 AudioInputStream sourceStream) { 477 if (sourceStream.getFormat().getEncoding().equals(targetEncoding)) 478 return sourceStream; 479 AudioFormat format = sourceStream.getFormat(); 489 return getAudioInputStream(targetFormat, sourceStream); 493 AudioInputStream sourceStream) { 494 if (!isConversionSupported(targetFormat, sourceStream.getFormat())) 496 + sourceStream.getFormat().toString() + " to " 499 .getInputStream(sourceStream)); 503 AudioFloatInputStream sourceStream) { 475 getAudioInputStream(Encoding targetEncoding, AudioInputStream sourceStream) argument 492 getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream) argument 502 getAudioInputStream(AudioFormat targetFormat, AudioFloatInputStream sourceStream) argument [all...] |
H A D | AlawCodec.java | 132 public AudioInputStream getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream){ argument 133 AudioFormat sourceFormat = sourceStream.getFormat(); 137 return sourceStream; 140 if( !isConversionSupported(targetEncoding,sourceStream.getFormat()) ) { 141 throw new IllegalArgumentException("Unsupported conversion: " + sourceStream.getFormat().toString() + " to " + targetEncoding.toString()); 165 throw new IllegalArgumentException("Unsupported conversion: " + sourceStream.getFormat().toString() + " to " + targetEncoding.toString()); 167 return getAudioInputStream( targetFormat, sourceStream ); 174 public AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream){ argument 175 return getConvertedStream( targetFormat, sourceStream );
|
H A D | UlawCodec.java | 122 public AudioInputStream getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream){ argument 123 AudioFormat sourceFormat = sourceStream.getFormat(); 127 return sourceStream; 130 if (!isConversionSupported(targetEncoding,sourceStream.getFormat())) { 131 throw new IllegalArgumentException("Unsupported conversion: " + sourceStream.getFormat().toString() + " to " + targetEncoding.toString()); 152 throw new IllegalArgumentException("Unsupported conversion: " + sourceStream.getFormat().toString() + " to " + targetEncoding.toString()); 155 return getAudioInputStream( targetFormat, sourceStream ); 162 public AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream){ argument 163 return getConvertedStream(targetFormat, sourceStream);
|
H A D | PCMtoPCMCodec.java | 113 public AudioInputStream getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream) { argument 115 if( isConversionSupported(targetEncoding, sourceStream.getFormat()) ) { 117 AudioFormat sourceFormat = sourceStream.getFormat(); 126 return getAudioInputStream( targetFormat, sourceStream ); 129 throw new IllegalArgumentException("Unsupported conversion: " + sourceStream.getFormat().toString() + " to " + targetEncoding.toString() ); 136 public AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream){ argument 138 return getConvertedStream( targetFormat, sourceStream );
|
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | AudioSystem.java | 856 * @param sourceStream the stream to be converted 865 AudioInputStream sourceStream) { 871 if( codec.isConversionSupported( targetEncoding, sourceStream.getFormat() ) ) { 872 return codec.getAudioInputStream( targetEncoding, sourceStream ); 876 throw new IllegalArgumentException("Unsupported conversion: " + targetEncoding + " from " + sourceStream.getFormat()); 947 * @param sourceStream the stream to be converted 956 AudioInputStream sourceStream) { 958 if (sourceStream.getFormat().matches(targetFormat)) { 959 return sourceStream; 966 if(codec.isConversionSupported(targetFormat,sourceStream 864 getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream) argument 955 getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream) argument [all...] |
Completed in 40 milliseconds