 
     private var framesPerPacket: Int = 0
 
-    private var maximumPendingBytesCount: Int = 0
-    private var maximumPendingPacketsCount: Int = 0
-
-    private var pendingBytes: UnsafeMutablePointer<UInt8>!
-    private var pendingAudioBuffers: UnsafeMutablePointer<AudioBuffer>!
-    private var pendingPacketDescriptions: UnsafeMutablePointer<AudioStreamPacketDescription>!
-
-    private var pendingBytesCount: Int = 0
-    private var pendingAudioBuffersCount = 0
-    private var pendingPacketsCount: Int = 0
-
     /// Create a new ADTS parser.
     ///
-    /// - Parameter pcmFormat: Output format of the buffers vended by the
-    ///   delegate methods. This must be a standard format. The parser uses
-    ///   it to determine the other varying parameters like sample rate.
+    /// - Parameter pcmFormat: Format of the converted buffers provided
+    ///   to the delegate.
     ///
     /// - Precondition: `pcmFormat` should be a standard format.
-    ///
-    /// - Parameter bufferDuration: The parser will buffer input until it has
-    ///   sufficient data to produce an output PCM buffer that is at least
-    ///   `bufferDuration` long. Note that this is a best effort contract
-    ///   and might be violated (i.e. smaller buffers may be emitted in
-    ///   certain scenarios).
-
-    init(pcmFormat: AVAudioFormat, bufferDuration: TimeInterval = 1.0) {
+
+    init(pcmFormat: AVAudioFormat) {
         precondition(pcmFormat.isStandard, "This class only supports conversion to PCM")
 
         self.pcmFormat = pcmFormat
-        self.bufferDuration = bufferDuration
 
         let context = Unmanaged.passUnretained(self).toOpaque()
 

                log.warning("Ignoring error when trying to dispose audio converter: \(osStatusDescription(status))")
            }
        }

        deallocateBuffers()
    }

    /// The delegate methods are called synchronously during

            return nil
        }

        // AudioConverterFillComplexBuffer does not know about the
        // AVAudioPCMBuffer, and we must update its state ourselves.

        outputBuffer.frameLength = outputBuffer.frameCapacity

        log.trace("Converted \(frameCount) frames from AAC to PCM")

