]> 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 be02f388efd5dd5ce6868babf5495a46ff41e31b..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;
@@ -39,6 +40,8 @@ struct Flags {
        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;