/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | AudioSynthesizer.java | 112 * @param targetFormat specifies the <code>AudioFormat</code> 126 public AudioInputStream openStream(AudioFormat targetFormat, argument
|
H A D | SunCodec.java | 92 public abstract AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream); argument
|
H A D | AlawCodec.java | 139 AudioFormat targetFormat = null; 146 targetFormat = new AudioFormat( targetEncoding, 157 targetFormat = new AudioFormat( targetEncoding, 167 return getAudioInputStream( targetFormat, sourceStream ); 174 public AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream){ argument 175 return getConvertedStream( targetFormat, sourceStream );
|
H A D | UlawCodec.java | 129 AudioFormat targetFormat = null; 135 targetFormat = new AudioFormat( targetEncoding, 144 targetFormat = new AudioFormat( targetEncoding, 155 return getAudioInputStream( targetFormat, sourceStream ); 162 public AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream){ argument 163 return getConvertedStream(targetFormat, sourceStream);
|
H A D | AudioFloatFormatConverter.java | 57 AudioFloatFormatConverterInputStream(AudioFormat targetFormat, argument 60 converter = AudioFloatConverter.getConverter(targetFormat); 61 fsize = ((targetFormat.getSampleSizeInBits() + 7) / 8); 125 private final AudioFormat targetFormat; field in class:AudioFloatFormatConverter.AudioFloatInputStreamChannelMixer 135 targetFormat = new AudioFormat(format.getEncoding(), format 151 return targetFormat; 231 private final AudioFormat targetFormat; field in class:AudioFloatFormatConverter.AudioFloatInputStreamResampler 271 targetFormat = new AudioFormat(sourceFormat.getEncoding(), format 275 nrofchannels = targetFormat.getChannels(); 315 return targetFormat; 492 getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream) argument 502 getAudioInputStream(AudioFormat targetFormat, AudioFloatInputStream sourceStream) argument 593 isConversionSupported(AudioFormat targetFormat, AudioFormat sourceFormat) argument [all...] |
H A D | PCMtoPCMCodec.java | 118 AudioFormat targetFormat = new AudioFormat( targetEncoding, 126 return getAudioInputStream( targetFormat, sourceStream ); 136 public AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream){ argument 138 return getConvertedStream( targetFormat, sourceStream );
|
H A D | SoftMixingMixer.java | 475 public AudioInputStream openStream(AudioFormat targetFormat) argument 487 if (targetFormat != null) 488 format = targetFormat;
|
H A D | SoftMixingDataLine.java | 58 private final AudioFormat targetFormat; field in class:SoftMixingDataLine.AudioFloatInputStreamResampler 98 targetFormat = new AudioFormat(sourceFormat.getEncoding(), format 102 nrofchannels = targetFormat.getChannels(); 142 return targetFormat; 278 skipbuffer = new float[1024 * targetFormat.getFrameSize()];
|
H A D | SoftSynthesizer.java | 1141 public AudioInputStream openStream(AudioFormat targetFormat, argument 1157 if (targetFormat != null) 1158 setFormat(targetFormat);
|
/openjdk7/jdk/src/share/classes/javax/sound/sampled/spi/ |
H A D | FormatConversionProvider.java | 157 * @param targetFormat desired format of outgoing data 161 public boolean isConversionSupported(AudioFormat targetFormat, AudioFormat sourceFormat){ argument 163 AudioFormat targetFormats[] = getTargetFormats( targetFormat.getEncoding(), sourceFormat ); 166 if( targetFormat.matches( targetFormats[i] ) ) { 189 * @param targetFormat desired data format of the stream after processing 195 public abstract AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream); argument
|
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | AudioSystem.java | 923 * @param targetFormat the desired audio format after conversion 929 public static boolean isConversionSupported(AudioFormat targetFormat, AudioFormat sourceFormat) { argument 935 if(codec.isConversionSupported(targetFormat, sourceFormat) ) { 946 * @param targetFormat the desired audio format after conversion 955 public static AudioInputStream getAudioInputStream(AudioFormat targetFormat, argument 958 if (sourceStream.getFormat().matches(targetFormat)) { 966 if(codec.isConversionSupported(targetFormat,sourceStream.getFormat()) ) { 967 return codec.getAudioInputStream(targetFormat,sourceStream); 972 throw new IllegalArgumentException("Unsupported conversion: " + targetFormat + " from " + sourceStream.getFormat());
|