Add --no-audio option

Audio will be enabled by default (when supported). Add an option to
disable it.

Co-authored-by: Romain Vimont <rom@rom1v.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Simon Chan
2023-02-03 16:27:34 +01:00
committed by Romain Vimont
parent ad683461d6
commit ded19ca0f0
10 changed files with 31 additions and 0 deletions

View File

@@ -147,6 +147,7 @@ struct scrcpy_options {
bool cleanup;
bool start_fps_counter;
bool power_on;
bool audio;
};
extern const struct scrcpy_options scrcpy_options_default;