     var shortPortName: String {
         portName.stringByTrimmingWhiteSpace()
     }
+    
+    var portChannelDescription: String {
+        guard let channels = channels else {
+            return shortPortName
+        }
+        return channels.map {"\(shortPortName) - \($0.shortChannelName)"}.joined(separator: "\n")
+    }
 }
 
 public extension AVAudioSessionChannelDescription {

            self.channel = channel
        }
    }

    /// Map outputs on this AU to channels from the given session.
    ///
    /// Lists of ports (i.e. devices) and associated channels can be obtained via: AVAudioSession.currentRoute

    
    var currentRouteDescription: String {
        currentRoute.outputs.compactMap { device in
            device.portChannelDescription
        }.compactMap{$0}.joined(separator: "\n")
    }
}

