super();
//
// This line advertizes all the formats that are supported
// by this renderer.
// Here we assume the renderer can support all linear/PCM formats.
//
supportedFormats = new Format[] {
new AudioFormat(
AudioFormat.LINEAR,
44100, // Sample rate
AudioFormat.NOT_SPECIFIED, // Sample size
AudioFormat.NOT_SPECIFIED, // # of channels
AudioFormat.BIG_ENDIAN,
AudioFormat.SIGNED
),
new AudioFormat(
AudioFormat.LINEAR,
22050, // Sample rate
AudioFormat.NOT_SPECIFIED, // Sample size
AudioFormat.NOT_SPECIFIED, // # of channels
AudioFormat.BIG_ENDIAN,
AudioFormat.SIGNED
),
new AudioFormat(
AudioFormat.LINEAR,
11025, // Sample rate
AudioFormat.NOT_SPECIFIED, // Sample size
AudioFormat.NOT_SPECIFIED, // # of channels
AudioFormat.BIG_ENDIAN,
AudioFormat.SIGNED
),
new AudioFormat(
AudioFormat.LINEAR,
8000, // Sample rate
AudioFormat.NOT_SPECIFIED, // Sample size
AudioFormat.NOT_SPECIFIED, // # of channels
AudioFormat.BIG_ENDIAN,
AudioFormat.SIGNED
),
};
gainControl = new MCA(this);
osCanMix = nCanMix();