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

Commit 33752676 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "AudioFormat: document that 24BIT is little-endian" into sc-dev am: 1528bc72

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15147559

Change-Id: I28fe507614343d061932a469bd540a8a700e3e54
parents 887a56d7 1528bc72
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -310,6 +310,10 @@ public final class AudioFormat implements Parcelable {
    public static final int ENCODING_LEGACY_SHORT_ARRAY_THRESHOLD = ENCODING_OPUS;

    /** Audio data format: PCM 24 bit per sample packed as 3 bytes.
     *
     * The bytes are in little-endian order, so the least significant byte
     * comes first in the byte array.
     *
     * Not guaranteed to be supported by devices, may be emulated if not supported. */
    public static final int ENCODING_PCM_24BIT_PACKED = 21;
    /** Audio data format: PCM 32 bit per sample.