     }
     
     var isConnectedToInput: Bool {
-        return controller.isConnectedToAudiobus(portOfType: ABPortTypeSender) // need to be able to check IAA too!
+        return controller.isConnectedToAudiobus(portOfType: ABPortTypeSender) || audioUnit.isConnectedToInterAppAudio(nodeOfType: kAudioUnitType_RemoteEffect)
     }
     
     // MARK: Notifications

        return value != 0
    }
    
}

        }
        
        self.audioUnit.add(listener: self.audioUnitPropertyListener, toProperty: kAudioUnitProperty_IsInterAppConnected)
        self.audioUnit.add(listener: self.audioUnitPropertyListener, toProperty: kAudioOutputUnitProperty_NodeComponentDescription)
        
        NSNotificationCenter.defaultCenter().addObserverForName(ABConnectionsChangedNotification, object: nil, queue: nil, usingBlock: { notification in
            self.updateConnections()
        })
    }
