     
     @IBAction func toggle(sender: NSButton) {
         if isRunning {
+            // tear down
+            processor?.tearDown()
+            
             // stop everything
             processor = nil
             

        // output stat
        return statOutput[index].readStatAndReset()
    }
}

class ViewControllerProcessor: NSViewController, NSTableViewDelegate, NSTableViewDataSource {

    }
    
    deinit {
        DLog("deinit processor")
        
        interfaceInput.tearDownAudio()
        interfaceOutput.tearDownAudio()
    }
