mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-01 05:38:51 +00:00
Add support for AAC audio codec
Add option --audio-codec=aac.
This commit is contained in:
parent
9187472014
commit
7f50ed2458
8 changed files with 16 additions and 5 deletions
|
@ -3,7 +3,8 @@ package com.genymobile.scrcpy;
|
|||
import android.media.MediaFormat;
|
||||
|
||||
public enum AudioCodec implements Codec {
|
||||
OPUS(0x6f_70_75_73, "opus", MediaFormat.MIMETYPE_AUDIO_OPUS);
|
||||
OPUS(0x6f_70_75_73, "opus", MediaFormat.MIMETYPE_AUDIO_OPUS),
|
||||
AAC(0x00_61_61_63, "aac", MediaFormat.MIMETYPE_AUDIO_AAC);
|
||||
|
||||
private final int id; // 4-byte ASCII representation of the name
|
||||
private final String name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue