X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Finput_mapping.h;h=10c3ca2901be0afe870ec9cbefc40ec9c31e0a60;hb=5a95cccfdacb0da1091ad71a1777a3045d7497e4;hp=67af0f489ee3aaf465b8c6c32aa554796c788cf1;hpb=392f9d1ccb835c05a3874c4bea163788b2c37024;p=nageru diff --git a/nageru/input_mapping.h b/nageru/input_mapping.h index 67af0f4..10c3ca2 100644 --- a/nageru/input_mapping.h +++ b/nageru/input_mapping.h @@ -6,7 +6,7 @@ #include #include -enum class InputSourceType { SILENCE, CAPTURE_CARD, ALSA_INPUT, FFMPEG_VIDEO_INPUT }; +enum class InputSourceType { SILENCE, CAPTURE_CARD, ALSA_INPUT }; struct DeviceSpec { InputSourceType type; unsigned index; @@ -47,10 +47,6 @@ struct InputMapping { std::vector 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 &devices, const InputMapping &mapping, const std::string &filename);