Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87c34715 authored by Lajos Molnar's avatar Lajos Molnar Committed by Android (Google) Code Review
Browse files

Merge "media: add MediaFormat.KEY_AUDIO_HW_SYNC hidden key" into sc-dev

parents 3076233c e966d5d7
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -1068,6 +1068,17 @@ public final class MediaFormat {
     */
    public static final String KEY_AUDIO_SESSION_ID = "audio-session-id";

    /**
     * A key describing the audio hardware sync ID of the AudioTrack associated
     * to a tunneled video codec. The associated value is an integer.
     *
     * @hide
     *
     * @see MediaCodecInfo.CodecCapabilities#FEATURE_TunneledPlayback
     * @see AudioManager#getAudioHwSyncForSession
     */
    public static final String KEY_AUDIO_HW_SYNC = "audio-hw-sync";

    /**
     * A key for boolean AUTOSELECT behavior for the track. Tracks with AUTOSELECT=true
     * are considered when automatically selecting a track without specific user