Add --audio-encoder

Similar to --video-encoder, but for audio.

PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757>
This commit is contained in:
Romain Vimont
2023-02-19 20:20:29 +01:00
parent aa9860a9f9
commit ea35c23b6b
12 changed files with 64 additions and 6 deletions

View File

@@ -10,6 +10,7 @@ const struct scrcpy_options scrcpy_options_default = {
.video_codec_options = NULL,
.audio_codec_options = NULL,
.video_encoder = NULL,
.audio_encoder = NULL,
#ifdef HAVE_V4L2
.v4l2_device = NULL,
#endif