/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | AudioFormat.java | 287 public float getSampleRate() { method in class:AudioFormat 364 * @see #getSampleRate() 452 && (format.getSampleRate() == (float)AudioSystem.NOT_SPECIFIED 453 || format.getSampleRate() == getSampleRate()) 482 if (getSampleRate() == (float) AudioSystem.NOT_SPECIFIED) { 485 sSampleRate = "" + getSampleRate() + " Hz, "; 517 if (Math.abs(getSampleRate() - getFrameRate()) > 0.00001) {
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | Toolkit.java | 169 if (format.getSampleRate() <= 0) { 171 +((format.getSampleRate()==-1)? 172 "NOT_SPECIFIED":String.valueOf(format.getSampleRate()))); 198 || (format.getSampleRate() <= 0) 219 af.getSampleRate(), 223 af.getSampleRate(),
|
H A D | AlawCodec.java | 147 sourceFormat.getSampleRate(), 151 sourceFormat.getSampleRate(), 158 sourceFormat.getSampleRate(), 162 sourceFormat.getSampleRate(), 221 inputFormat.getSampleRate(), 225 inputFormat.getSampleRate(), 232 inputFormat.getSampleRate(), 236 inputFormat.getSampleRate(), 240 inputFormat.getSampleRate(), 244 inputFormat.getSampleRate(), [all...] |
H A D | UlawCodec.java | 136 sourceFormat.getSampleRate(), 140 sourceFormat.getSampleRate(), 145 sourceFormat.getSampleRate(), 149 sourceFormat.getSampleRate(), 207 inputFormat.getSampleRate(), 211 inputFormat.getSampleRate(), 218 inputFormat.getSampleRate(), 222 inputFormat.getSampleRate(), 227 inputFormat.getSampleRate(), 231 inputFormat.getSampleRate(), [all...] |
H A D | PCMtoPCMCodec.java | 119 sourceFormat.getSampleRate(), 195 inputFormat.getSampleRate(), 207 inputFormat.getSampleRate(), 221 inputFormat.getSampleRate(), 229 inputFormat.getSampleRate(), 237 inputFormat.getSampleRate(), 249 inputFormat.getSampleRate(), 257 inputFormat.getSampleRate(), 265 inputFormat.getSampleRate(), 277 inputFormat.getSampleRate(), [all...] |
H A D | AudioFloatFormatConverter.java | 136 .getSampleRate(), format.getSampleSizeInBits(), 272 .getSampleRate(), sourceFormat.getSampleSizeInBits(), 274 format.getSampleRate(), sourceFormat.isBigEndian()); 297 pitch[0] = sourceFormat.getSampleRate() / format.getSampleRate(); 482 float samplerate = format.getSampleRate(); 513 if (Math.abs(targetFormat.getSampleRate() 514 - sourceStream.getFormat().getSampleRate()) > 0.000001)
|
H A D | WaveFloatFileWriter.java | 74 fmt_chunk.writeUnsignedInt((int) format.getSampleRate()); 115 .getSampleRate(), format.getSampleSizeInBits(), format
|
H A D | AiffFileWriter.java | 204 streamFormat.getSampleRate(), 292 float sampleFramesPerSecond = format.getSampleRate(); 317 streamFormat.getSampleRate(), 338 streamFormat.getSampleRate(),
|
H A D | SF2Sample.java | 189 public long getSampleRate() { method in class:SF2Sample
|
H A D | WaveFileWriter.java | 208 streamFormat.getSampleRate(), 274 int sampleRate = (int) audioFormat.getSampleRate(); 306 audioStreamFormat.getSampleRate(), 323 audioStreamFormat.getSampleRate(),
|
H A D | AuFileWriter.java | 180 streamFormat.getSampleRate(), 219 int sampleRate = (int)format.getSampleRate(); 256 audioStreamFormat.getSampleRate(),
|
H A D | SoftMixingClip.java | 200 if (Math.abs(format.getSampleRate() - outputformat.getSampleRate()) > 0.000001) 282 .getSampleRate())); 417 .getSampleRate()) / 1000000.0))); 454 .getSampleRate()));
|
H A D | SoftMixingSourceDataLine.java | 370 if (Math.abs(format.getSampleRate() 371 - outputformat.getSampleRate()) > 0.000001) 448 .getSampleRate()));
|
H A D | DirectAudioDevice.java | 134 format.getSampleRate(), bits, format.getChannels(), 135 format.getFrameSize(), format.getSampleRate(), 141 format.getSampleRate(), bits, format.getChannels(), 142 format.getFrameSize(), format.getSampleRate(), 149 format.getSampleRate(), bits, 152 format.getSampleRate(), 310 format.getSampleRate(), format.getSampleSizeInBits(), format.getChannels(), 316 format.getSampleRate(), format.getSampleSizeInBits(), format.getChannels(), 502 hardwareFormat.getSampleRate(),
|
H A D | ModelAbstractOscillator.java | 106 public float getSampleRate() { method in class:ModelAbstractOscillator
|
H A D | SoftMixingDataLine.java | 99 .getSampleRate(), sourceFormat.getSampleSizeInBits(), 101 format.getSampleRate(), sourceFormat.isBigEndian()); 124 pitch[0] = sourceFormat.getSampleRate() / format.getSampleRate();
|
H A D | SoftMixingMainMixer.java | 121 int buffersize = (int) (mixer.getFormat().getSampleRate() / mixer 135 float samplerate = mixer.getFormat().getSampleRate();
|
H A D | SoftMixingMixer.java | 384 if(format.getSampleRate() == AudioSystem.NOT_SPECIFIED || 385 format.getSampleRate() == 48000.0) 392 float ideal_rate = format.getSampleRate();
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftSynthesizer/ |
H A D | GetPropertyInfo.java | 69 assertTrue(Math.abs(format.getSampleRate() - 8000) < 0.001); 82 assertTrue(Math.abs(format.getSampleRate() - 9000) < 0.001); 96 assertTrue(Math.abs(format.getSampleRate() - 44100) < 0.001);
|
H A D | DummySourceDataLine.java | 143 .getSampleRate())); 186 .getSampleRate()));
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftChannel/ |
H A D | SoftTestUtils.java | 44 float fr = 440/format.getSampleRate(); 54 sample.setSampleRate((long) format.getSampleRate());
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftReceiver/ |
H A D | SoftTestUtils.java | 44 float fr = 440/format.getSampleRate(); 54 sample.setSampleRate((long) format.getSampleRate());
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftAudioSynthesizer/ |
H A D | DummySourceDataLine.java | 143 .getSampleRate())); 186 .getSampleRate()));
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftFilter/ |
H A D | TestProcessAudio.java | 43 SoftFilter filter = new SoftFilter(format.getSampleRate());
|
/openjdk7/jdk/test/javax/sound/sampled/FileWriter/ |
H A D | AlawEncoderSync.java | 62 pcmBuffer = new byte[STREAM_LENGTH * (int)pcmFormat.getSampleRate()
|