voice-agent: voice-agent



  Flags from /source/src/agent/audio_decoder.cpp:

    -adsss_config (acoumodem config file) type: string

      default: "/etc/acoumodem.conf"

    -adsss_reference (reference file for audio decoder) type: string

      default: "/usr/share/voice-agent/reference.pcm"



  Flags from /source/src/agent/bluetooth_player.cpp:

    -bt_delay_report_interval (delay reporting interval for a2dp streams in

      milliseconds) type: uint32 default: 1000







  Flags from /source/src/agent/certs/tls_params.cpp:

    -client_cert (path to cert) type: string default: "client_cert.pem"

    -client_private_key (path to key) type: string

      default: "client_private_key.pem"







  Flags from /source/src/agent/input_event_manager.cpp:

    -keypad_volume_change_step (keypad volume change step) type: uint32

      default: 5

    -volume_change_speed_ms (volume change speed) type: uint32 default: 200



  Flags from /source/src/agent/keyword_spotter.cpp:

    -kw_injection (enable kw injection for testing) type: bool default: false

    -kws_model (kws model) type: string

      default: "/usr/share/voice-agent/model.bin"

    -kws_sp_threshold (kws sp threshold) type: double default: 0.25

    -kws_sp_threshold_playback (kws sp threshold while playing media)

      type: double default: 0

    -kws_threshold (kws threshold) type: double default: 0.99650000000000005

    -kws_threshold_playback (kws threshold while playing media) type: double

      default: 0.998

    -spotter_stats_period_ms (spotter stats period (ms)) type: uint32

      default: 250

    -spotter_stats_sent_period_ms (spotter stats sent period in ms)

      type: uint32 default: 1800000







  Flags from /source/src/agent/led/led_animation_capsula.cpp:

    -listening_animation_fps () type: uint32 default: 0

    -listening_animation_use_doa (rotate listening animation according to DOA)

      type: bool default: false

    -listening_animation_volume_max () type: double default: -12

    -listening_animation_volume_min () type: double default: -72

    -music_animation_delay_ms () type: uint32 default: 90

    -music_animation_fps () type: uint32 default: 0

    -music_animation_volume_max () type: double default: -10

    -music_animation_volume_min () type: double default: -45

    -tts_animation_delay_ms () type: uint32 default: 120

    -tts_animation_fps () type: uint32 default: 0

    -tts_animation_volume_max () type: double default: -18

    -tts_animation_volume_min () type: double default: -48

    -volume_animation_bezier () type: string default: ""

    -volume_animation_fps () type: uint32 default: 0

    -volume_animation_in_ms () type: int32 default: 0

    -volume_animation_out_ms () type: int32 default: 0

    -volume_animation_still_ms () type: int32 default: 0



  Flags from /source/src/agent/led/led_animation_common.cpp:

    -led_animation_dir () type: string default: "/usr/share/voice-agent/led"







  Flags from /source/src/agent/phrase_context.cpp:

    -overwrite_nfc_card_id (override nfc card id) type: string default: ""



  Flags from /source/src/agent/phrase_streamer_grpc_impl.cpp:

    -rpc_method (name of grpc method) type: string default: "Speech"



  Flags from /source/src/agent/phrase_streamer_http_impl.cpp:

    -disable_opus (disable opus) type: bool default: false

    -max_chunk_length_ms (maximum audio chunk length (to send to asr))

      type: uint32 default: 2000







  Flags from /source/src/agent/player/media_playback.cpp:

    -media_playback_nice (nice value for media playback thread) type: int32

      default: 0

    -media_playback_sched_rtprio (media playback thread real time scheduling

      priority) type: int32 default: 0



  Flags from /source/src/agent/player/media_player.cpp:

    -avoid_resampling (avoid audio resampling) type: bool default: true







  Flags from /source/src/agent/purr.cpp:

    -purr_sink (audio sink for purr playback) type: string

      default: "pulse:purr"







  Flags from /source/src/agent/smah/smah_scenario_runner.cpp:

    -smah_scenario_rl_burst (smah_scenario_rl_burst) type: int32 default: 10

    -smah_scenario_rl_count (smah_scenario_rl_count) type: int32 default: 2

    -smah_scenario_rl_interval_ms (smah_scenario_rl_interval_ms) type: int32

      default: 1000







  Flags from /source/src/agent/system_sound.cpp:

    -sys_sound_playback_latency_ms (system sound playback latency) type: uint32

      default: 80

    -sys_sound_playback_nice (system sound playback thread's nice value)

      type: int32 default: -15

    -sys_sound_playback_sched_rtprio (system sound playback thread's real time

      scheduling priority) type: int32 default: 2



  Flags from /source/src/agent/voice_agent.cpp:

    -alarm_sink (alarm audio sink (name/sample_rate/channels)) type: string

      default: "pulse:alarm"

    -call_sink (call audio sink (name/sample_rate/channels)) type: string

      default: "pulse:call"

    -collect_raw_phrase (collect raw phrase data) type: bool default: false

    -device_reset_delay_ms (device reset delay) type: uint32 default: 5000

    -diagnostic_buffer_duration (default diagnostic audio buffer depth)

      type: uint32 default: 30

    -master_sink (master audio sink (name/sample_rate/channels)) type: string

      default: "pulse:master"

    -music_stat_url (override music stat url) type: string default: ""

    -ring_sink (ring audio sink (name/sample_rate/channels)) type: string

      default: "pulse:ring"

    -setup_source (audio source for setup (name/sample_rate/channels)

      type: string default: "pulse:mics/16000/1"

    -snapcast_sink (snapcast audio sink (name/sample_rate/channels))

      type: string default: "pulse:snapcast"

    -sys_sound_sink (system sound sink (name/sample_rate/channels))

      type: string default: ""

    -telemetry_url (override telemetry url) type: string default: ""

    -update_on_startup (update firmware on startup) type: bool default: true

    -verbal_connecting_error_timeout (verbal_connecting_error_timeout)

      type: uint32 default: 300

    -voice_source (audio source for voice processing

      (name/sample_rate/channels)) type: string default: "pulse/16000/1"



  Flags from /source/src/agent/voice_engine_impl.cpp:

    -stream_buffer_ms (stream buffer limit (ms)) type: uint32 default: 10000



  Flags from /source/src/agent/voice_main.cpp:

    -logtosyslog (forward log messages to syslog) type: bool default: false

    -mode (process mode) type: string default: "app"

    -watchdog (enable watchdog) type: bool default: false







  Flags from /source/src/audio_common/alsa_playback.cpp:

    -alsa_volume_control (ALSA mixer control for volume adjustment)

      type: string default: "Master"

    -alsa_volume_device (ALSA device to use for volume adjustment) type: string

      default: ""



  Flags from /source/src/audio_common/libav_input.cpp:

    -ffmpeg_debug (enable debug logging for ffmpeg) type: bool default: false



  Flags from /source/src/audio_common/pulse_capture.cpp:

    -pa_capture_latency_ms (set pulseaudio capture latency) type: int32

      default: 0



  Flags from /source/src/audio_common/pulse_playback.cpp:

    -pa_playback_latency_ms (set pulseaudio playback latency) type: uint32

      default: 60



  Flags from /source/src/audio_common/pulse_volume.cpp:

    -pulse_volume_device (pulseaudio device to use for volume adjustment)

      type: string default: ""



  Flags from /source/src/audio_common/simple_playback.cpp:

    -media_playback_latency_ms (media playback latency) type: uint32

      default: 200



  Flags from /source/src/audio_common/volume_meter.cpp:

    -avg_volume_window_ms (average volume compute window (milliseconds))

      type: uint32 default: 40

    -peak_volume_window_ms (peak volume compute window (milliseconds))

      type: uint32 default: 10







  Flags from src/gflags.cc:

    -flagfile (load flags from file) type: string default: ""

    -fromenv (set flags from the environment [use 'export FLAGS_flag1=value'])

      type: string default: ""

    -tryfromenv (set flags from the environment if present) type: string

      default: ""

    -undefok (comma-separated list of flag names that it is okay to specify on

      the command line even if the program does not define a flag with that

      name.  IMPORTANT: flags in this list that have arguments MUST use the

      flag=value format) type: string default: ""



  Flags from src/gflags_completions.cc:

    -tab_completion_columns (Number of columns to use in output for tab

      completion) type: int32 default: 80

    -tab_completion_word (If non-empty, HandleCommandLineCompletions() will

      hijack the process and attempt to do bash-style command line flag

      completion on this value.) type: string default: ""



  Flags from src/gflags_reporting.cc:

    -help (show help on all flags [tip: all flags can have two dashes])

      type: bool default: false currently: true

    -helpfull (show help on all flags -- same as -help) type: bool

      default: false

    -helpmatch (show help on modules whose name contains the specified substr)

      type: string default: ""

    -helpon (show help on the modules named by this flag value) type: string

      default: ""

    -helppackage (show help on all modules in the main package) type: bool

      default: false

    -helpshort (show help on only the main module for this program) type: bool

      default: false

    -helpxml (produce an xml version of help) type: bool default: false

    -version (show version and build info and exit) type: bool default: false



  Flags from src/logging.cc:

    -alsologtoemail (log messages go to these email addresses in addition to

      logfiles) type: string default: ""

    -alsologtostderr (log messages go to stderr in addition to logfiles)

      type: bool default: false

    -colorlogtostderr (color messages logged to stderr (if supported by

      terminal)) type: bool default: false

    -colorlogtostdout (color messages logged to stdout (if supported by

      terminal)) type: bool default: false

    -drop_log_memory (Drop in-memory buffers of log contents. Logs can grow

      very quickly and they are rarely read before they need to be evicted from

      memory. Instead, drop them from memory as soon as they are flushed to

      disk.) type: bool default: true

    -log_backtrace_at (Emit a backtrace when logging at file:linenum.)

      type: string default: ""

    -log_dir (If specified, logfiles are written into this directory instead of

      the default logging directory.) type: string default: ""

    -log_link (Put additional links to the log files in this directory)

      type: string default: ""

    -log_prefix (Prepend the log prefix to the start of each log line)

      type: bool default: true

    -log_utc_time (Use UTC time for logging.) type: bool default: false

    -log_year_in_prefix (Include the year in the log prefix) type: bool

      default: true

    -logbuflevel (Buffer log messages logged at this level or lower (-1 means

      don't buffer; 0 means buffer INFO only; ...)) type: int32 default: 0

    -logbufsecs (Buffer log messages for at most this many seconds) type: int32

      default: 30

    -logcleansecs (Clean overdue logs every this many seconds) type: int32

      default: 300

    -logemaillevel (Email log messages logged at this level or higher (0 means

      email all; 3 means email FATAL only; ...)) type: int32 default: 999

    -logfile_mode (Log file mode/permissions.) type: int32 default: 436

    -logmailer (Mailer used to send logging email) type: string default: ""

    -logtostderr (log messages go to stderr instead of logfiles) type: bool

      default: false

    -logtostdout (log messages go to stdout instead of logfiles) type: bool

      default: false

    -max_log_size (approx. maximum log file size (in MB). A value of 0 will be

      silently overridden to 1.) type: uint32 default: 1800

    -minloglevel (Messages logged at a lower level than this don't actually get

      logged anywhere) type: int32 default: 0

    -stderrthreshold (log messages at or above this level are copied to stderr

      in addition to logfiles.  This flag obsoletes --alsologtostderr.)

      type: int32 default: 2

    -stop_logging_if_full_disk (Stop attempting to log to disk if the disk is

      full.) type: bool default: false

    -timestamp_in_logfile_name (put a timestamp at the end of the log file

      name) type: bool default: true



  Flags from src/utilities.cc:

    -symbolize_stacktrace (Symbolize the stack trace in the tombstone)

      type: bool default: true



  Flags from src/vlog_is_on.cc:

    -v (Show all VLOG(m) messages for m <= this. Overridable by --vmodule.)

      type: int32 default: 0

    -vmodule (per-module verbose level. Argument is a comma-separated list of

      <module name>=<log level>. <module name> is a glob pattern, matched

      against the filename base (that is, name ignoring .cc/.h./-inl.h). <log

      level> overrides any value given by --v.) type: string default: ""

