2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-09-03 15:55:46 +00:00

Add recording to aac file

It is just an alias for mp4.

PR #3978 <https://github.com/Genymobile/scrcpy/pull/3978>
This commit is contained in:
Romain Vimont
2023-05-07 12:38:32 +02:00
parent 7321db6f28
commit b11b363e8e
3 changed files with 14 additions and 1 deletions

View File

@@ -24,13 +24,15 @@ enum sc_record_format {
SC_RECORD_FORMAT_M4A,
SC_RECORD_FORMAT_MKA,
SC_RECORD_FORMAT_OPUS,
SC_RECORD_FORMAT_AAC,
};
static inline bool
sc_record_format_is_audio_only(enum sc_record_format fmt) {
return fmt == SC_RECORD_FORMAT_M4A
|| fmt == SC_RECORD_FORMAT_MKA
|| fmt == SC_RECORD_FORMAT_OPUS;
|| fmt == SC_RECORD_FORMAT_OPUS
|| fmt == SC_RECORD_FORMAT_AAC;
}
enum sc_codec {