/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* General software mixing line.
*
* @author Karl Helgason
*/
"Chorus Send") {
};
protected static final class AudioFloatInputStreamResampler extends
private float[] skipbuffer;
private final float[] ibuffer2;
private final float[][] ibuffer;
private float[][] cbuffer;
private final int pad;
private final int pad2;
this.resampler = new SoftPointResampler();
this.resampler = new SoftLinearResampler2();
this.resampler = new SoftLinearResampler();
this.resampler = new SoftLinearResampler2();
this.resampler = new SoftCubicResampler();
this.resampler = new SoftLanczosResampler();
this.resampler = new SoftSincResampler();
}
// SoftLinearResampler2();
}
return 0;
}
}
return targetFormat;
}
public long getFrameLength() {
}
if (mark_ibuffer == null) {
}
float[] to = mark_ibuffer[c];
}
}
}
public boolean markSupported() {
return ais.markSupported();
}
if (ibuffer_len == -1)
return;
for (int c = 0; c < nrofchannels; c++) {
}
}
ibuffer_index -= (ibuffer_len);
if (ibuffer_len >= 0) {
- ibuffer_len);
if (ret == -1)
break;
ibuffer_len += ret;
}
} else {
}
for (int c = 0; c < nrofchannels; c++) {
}
}
}
}
if (ibuffer_len == -1)
return -1;
if (len < 0)
return 0;
int destPos = 0;
int in_end = ibuffer_len;
while (remain > 0) {
if (ibuffer_len >= 0) {
}
if (ibuffer_len < 0) {
if (ibuffer_index >= in_end)
break;
}
if (ibuffer_index < 0)
break;
int preDestPos = destPos;
for (int c = 0; c < nrofchannels; c++) {
}
}
for (int c = 0; c < nrofchannels; c++) {
int ix = 0;
for (int i = c; i < b.length; i += nrofchannels) {
}
}
}
if (mark_ibuffer == null)
return;
float[] from = mark_ibuffer[c];
}
}
}
if (len > 0)
return 0;
if (skipbuffer == null)
float[] l_skipbuffer = skipbuffer;
while (remain > 0) {
skipbuffer.length));
if (ret < 0) {
return ret;
break;
}
}
}
}
private Gain() {
-1, 0.0f, "dB", "Minimum", "", "Maximum");
}
calcVolume();
}
}
private Mute() {
}
calcVolume();
}
}
private ApplyReverb() {
}
calcVolume();
}
}
private Balance() {
0.0f, "", "Left", "Center", "Right");
}
calcVolume();
}
}
private Pan() {
0.0f, "", "Left", "Center", "Right");
}
}
public float getValue() {
return balance_control.getValue();
}
}
private ReverbSend() {
-1, -80f, "dB", "Minimum", "", "Maximum");
}
}
}
private ChorusSend() {
"Minimum", "", "Maximum");
}
}
}
protected abstract void processControlLogic();
apply_reverb };
calcVolume();
}
final void calcVolume() {
synchronized (control_mutex) {
if (mute_control.getValue())
gain = 0;
// -1 = Left, 0 Center, 1 = Right
if (balance > 0)
else
}
}
if (!apply_reverb.getValue()) {
eff1gain = 0;
}
}
return;
}
}
synchronized (control_mutex) {
}
}
synchronized (control_mutex) {
}
}
return info;
}
return controls[i];
}
}
}
throw new IllegalArgumentException("Unsupported control type : "
+ control);
}
}
return true;
}
}
}
return false;
}
}