{
super.open();
bufferQueueInputStream = new BufferQueueInputStream(); // TODO: limit should be total bytes, not number of bufers.
// bufferQueueInputStream.setTrace(((AudioFormat) inputFormat).getEncoding().equals("LINEAR") && ((AudioFormat) inputFormat).getSampleRate() == 22050.0);
// this.setTrace(((AudioFormat) inputFormat).getEncoding().equals("LINEAR") && ((AudioFormat) inputFormat).getSampleRate() == 22050.0);
// create fake header (see below)