 
         return recorder
     }()
+
+    private var link: CADisplayLink?
 
     public init(to: NSString, on: RecorderDelegate, withMetering:Bool = false)
     {


    private func startMetering()
    {
        meterLink = CADisplayLink(target: self, selector: "updateMeter")
        meterLink.addToRunLoop(NSRunLoop.currentRunLoop(), forMode: NSRunLoopCommonModes)
    }
    
    private func stopMetering()
    {
        meterLink.invalidate()
    }
    
}

    var delegate: RecorderDelegate!
    var metering: Bool
    var url: NSURL!

    var bitRate = 192000
    var sampleRate = 44100.0
