AudioFormat af = input;
if (!buildChain(input))
throw new UnsupportedFormatException(input);
// Do not open the renderer as yet.
// We'll only do it when the data is being prefetched.
renderer.close();
firstBuffer = false;
if (gainComp != null)
return gainComp;
Control c = (Control)renderer.getControl("javax.media.GainControl");
if (c != null)
gainComp = new GainControlComponent((GainControl)c);
return gainComp;