]> git.sesse.net Git - nageru/blobdiff - input_mapping.h
When outputting debug messages for an audio device, refer to the device spec instead...
[nageru] / input_mapping.h
index 10c3ca2901be0afe870ec9cbefc40ec9c31e0a60..540fde39e0bb4c3378e9292e0d9ab23d496de508 100644 (file)
@@ -47,6 +47,10 @@ struct InputMapping {
        std::vector<Bus> buses;
 };
 
+// This is perhaps not the most user-friendly output, but it's at least better
+// than the raw index.
+std::string spec_to_string(DeviceSpec device_spec);
+
 bool save_input_mapping_to_file(const std::map<DeviceSpec, DeviceInfo> &devices,
                                 const InputMapping &mapping,
                                 const std::string &filename);