]> git.sesse.net Git - nageru/blobdiff - flags.h
Make the resampling audio queue length adjustable with a flag.
[nageru] / flags.h
diff --git a/flags.h b/flags.h
index ba69db6af09cce6b0c32fbfb49740083cc7a97d6..b3e676d09ade636e0cc98f8d0f1aec46c1b7357c 100644 (file)
--- a/flags.h
+++ b/flags.h
@@ -8,6 +8,7 @@
 #include "defs.h"
 
 struct Flags {
+       int width = 1280, height = 720;
        int num_cards = 2;
        std::string va_display;
        bool fake_cards_audio = false;
@@ -36,6 +37,11 @@ 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.
+       bool print_video_latency = false;
+       double audio_queue_length_ms = 100.0;
 };
 extern Flags global_flags;