]> git.sesse.net Git - nageru/blobdiff - flags.h
Check the return value of writing to the eventfd.
[nageru] / flags.h
diff --git a/flags.h b/flags.h
index beddab7f3354c1c0c95fbfcb26a7db4c86b4ff7f..be02f388efd5dd5ce6868babf5495a46ff41e31b 100644 (file)
--- a/flags.h
+++ b/flags.h
@@ -9,8 +9,8 @@
 
 struct Flags {
        int num_cards = 2;
-       int num_fake_cards = 0;
        std::string va_display;
+       bool fake_cards_audio = false;
        bool uncompressed_video_to_http = false;
        bool x264_video_to_http = false;
        std::vector<std::string> theme_dirs { ".", "/usr/local/share/nageru" };
@@ -36,6 +36,9 @@ struct Flags {
        std::vector<std::string> x264_extra_param;  // In “key[,value]” format.
        bool enable_alsa_output = true;
        std::map<int, int> default_stream_mapping;
+       bool multichannel_mapping_mode = false;  // Implicitly true if input_mapping_filename is nonempty.
+       std::string input_mapping_filename;  // Empty for none.
+       std::string midi_mapping_filename;  // Empty for none.
 };
 extern Flags global_flags;