X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=flags.h;h=8e68a66893d766a8f6223be1c351a5b935d8802d;hb=12ef90072622a8001f2c3cc853e5b89ba7d4e94e;hp=a73a48e94a4807a6f085b85e96cb371c0177d442;hpb=78e28934f9aecfb4dc9cd573b0c9b4e0bd012729;p=nageru diff --git a/flags.h b/flags.h index a73a48e..8e68a66 100644 --- a/flags.h +++ b/flags.h @@ -9,12 +9,18 @@ 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 theme_dirs { ".", "/usr/local/share/nageru" }; std::string theme_filename = "theme.lua"; - bool flat_audio = false; + bool locut_enabled = true; + bool gain_staging_auto = true; + float initial_gain_staging_db = 0.0f; + bool compressor_enabled = true; + bool limiter_enabled = true; + bool final_makeup_gain_auto = true; bool flush_pbos = true; std::string stream_mux_name = DEFAULT_STREAM_MUX_NAME; bool stream_coarse_timebase = false; @@ -30,6 +36,7 @@ struct Flags { std::vector x264_extra_param; // In “key[,value]” format. bool enable_alsa_output = true; std::map default_stream_mapping; + std::string input_mapping_filename; // Empty for none. }; extern Flags global_flags;