     }
 
     public static var reportRecordingDuration: ((duration: NSTimeInterval) -> Void)?
+    public static var reportPlayingDuration: ((duration: NSTimeInterval) -> Void)?
 
     private var recordingTimer: NSTimer?
     private var playingTimer: NSTimer?


            return outputValues
        }
        
        let compressedDecibelSamples = averageSamplingFrom(samples, withCount: finalNumber)
        
        return compressedDecibelSamples
    }
}

    }

    private func clearForPlaying(finish finish: Bool) {

        AudioBot.reportPlayingDuration = nil

        playingTimer?.invalidate()
        playingTimer = nil
