Merge "AudioFormat: document that 24BIT is little-endian" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1528bc72fc
@@ -310,6 +310,10 @@ public final class AudioFormat implements Parcelable {
|
|||||||
public static final int ENCODING_LEGACY_SHORT_ARRAY_THRESHOLD = ENCODING_OPUS;
|
public static final int ENCODING_LEGACY_SHORT_ARRAY_THRESHOLD = ENCODING_OPUS;
|
||||||
|
|
||||||
/** Audio data format: PCM 24 bit per sample packed as 3 bytes.
|
/** 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. */
|
* Not guaranteed to be supported by devices, may be emulated if not supported. */
|
||||||
public static final int ENCODING_PCM_24BIT_PACKED = 21;
|
public static final int ENCODING_PCM_24BIT_PACKED = 21;
|
||||||
/** Audio data format: PCM 32 bit per sample.
|
/** Audio data format: PCM 32 bit per sample.
|
||||||
|
|||||||
Reference in New Issue
Block a user