Searched refs:resampler (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftCubicResampler/
H A DInterpolate.java71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument
78 int pads = resampler.getPadding();
82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length);
102 SoftCubicResampler resampler = new SoftCubicResampler();
103 float max = testResampler(resampler, 0.3f, 0.3f);
106 max = testResampler(resampler, 0.3f, 0.01f);
109 max = testResampler(resampler, 1.0f, 0.00f);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLanczosResampler/
H A DInterpolate.java71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument
78 int pads = resampler.getPadding();
82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length);
102 SoftLanczosResampler resampler = new SoftLanczosResampler();
103 float max = testResampler(resampler, 0.3f, 0.3f);
106 max = testResampler(resampler, 0.3f, 0.01f);
109 max = testResampler(resampler, 1.0f, 0.00f);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLinearResampler/
H A DInterpolate.java71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument
78 int pads = resampler.getPadding();
82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length);
102 SoftLinearResampler resampler = new SoftLinearResampler();
103 float max = testResampler(resampler, 0.3f, 0.3f);
106 max = testResampler(resampler, 0.3f, 0.01f);
109 max = testResampler(resampler, 1.0f, 0.00f);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLinearResampler2/
H A DInterpolate.java71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument
78 int pads = resampler.getPadding();
82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length);
102 SoftLinearResampler2 resampler = new SoftLinearResampler2();
103 float max = testResampler(resampler, 0.3f, 0.3f);
106 max = testResampler(resampler, 0.3f, 0.01f);
109 max = testResampler(resampler, 1.0f, 0.00f);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftPointResampler/
H A DInterpolate.java71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument
78 int pads = resampler.getPadding();
82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length);
102 SoftPointResampler resampler = new SoftPointResampler();
103 float max = testResampler(resampler, 0.3f, 0.3f);
106 max = testResampler(resampler, 0.3f, 0.01f);
109 max = testResampler(resampler, 1.0f, 0.00f);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftSincResampler/
H A DInterpolate.java71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument
78 int pads = resampler.getPadding();
82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length);
102 SoftSincResampler resampler = new SoftSincResampler();
103 float max = testResampler(resampler, 0.3f, 0.3f);
106 max = testResampler(resampler, 0.3f, 0.01f);
109 max = testResampler(resampler, 1.0f, 0.00f);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftMixingDataLine.java62 private SoftAbstractResampler resampler; field in class:SoftMixingDataLine.AudioFloatInputStreamResampler
107 this.resampler = new SoftPointResampler();
109 this.resampler = new SoftLinearResampler2();
111 this.resampler = new SoftLinearResampler();
113 this.resampler = new SoftLinearResampler2();
115 this.resampler = new SoftCubicResampler();
117 this.resampler = new SoftLanczosResampler();
119 this.resampler = new SoftSincResampler();
121 if (resampler == null)
122 resampler
[all...]
H A DAudioFloatFormatConverter.java235 private SoftAbstractResampler resampler; field in class:AudioFloatFormatConverter.AudioFloatInputStreamResampler
280 this.resampler = new SoftPointResampler();
282 this.resampler = new SoftLinearResampler2();
284 this.resampler = new SoftLinearResampler();
286 this.resampler = new SoftLinearResampler2();
288 this.resampler = new SoftCubicResampler();
290 this.resampler = new SoftLanczosResampler();
292 this.resampler = new SoftSincResampler();
294 if (resampler == null)
295 resampler
[all...]
H A DSoftSynthesizer.java225 private SoftResampler resampler = new SoftLinearResampler(); field in class:SoftSynthesizer
308 this.resampler = new SoftPointResampler();
313 this.resampler = new SoftLinearResampler2();
318 this.resampler = new SoftLinearResampler();
323 this.resampler = new SoftLinearResampler2();
328 this.resampler = new SoftCubicResampler();
333 this.resampler = new SoftLanczosResampler();
338 this.resampler = new SoftSincResampler();
1209 voice.resampler = resampler
[all...]
H A DSoftVoice.java183 SoftResamplerStreamer resampler; field in class:SoftVoice
614 resampler.open((ModelWavetable)osc,
616 osc_stream = resampler;
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_PCM.cpp610 Resampler *resampler; member in struct:OSX_DirectAudioDevice
611 // to detect discontinuity (to reset resampler)
615 OSX_DirectAudioDevice() : audioUnit(NULL), asbd(), resampler(NULL), lastWrittenSampleTime(0) {
622 if (resampler) {
623 delete resampler;
750 if (device->resampler != NULL) {
755 // discontinuity, reset the resampler
759 device->resampler->Discontinue();
766 int bytesWritten = device->resampler->Process(abl.mBuffers[0].mData, (int)abl.mBuffers[0].mDataByteSize, &device->ringBuffer);
843 device->resampler
[all...]

Completed in 9131 milliseconds