Stay organized with collections
Save and categorize content based on your preferences.
@UnstableApi
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = ElementType.TYPE_USE)
@IntDef(value = [Format.NO_VALUE])
public annotation C.PcmEncoding
Represents a PCM audio encoding, or an invalid or unset value. One of NO_VALUE
, ENCODING_INVALID
, ENCODING_PCM_8BIT
, ENCODING_PCM_16BIT
, ENCODING_PCM_16BIT_BIG_ENDIAN
, ENCODING_PCM_24BIT
, ENCODING_PCM_24BIT_BIG_ENDIAN
, ENCODING_PCM_32BIT
, ENCODING_PCM_32BIT_BIG_ENDIAN
, ENCODING_PCM_FLOAT
.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-07-17 UTC.
[null,null,["Last updated 2025-07-17 UTC."],[],[],null,["# C.PcmEncoding\n=============\n\nArtifact: [androidx.media3:media3-common](/jetpack/androidx/releases/media3) \n[View Source](https://cs.android.com/search?q=file:androidx/media3/common/C.java+class:androidx.media3.common.C.PcmEncoding)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/media3/common/C.PcmEncoding \"View this page in Kotlin\") \\|Java\n\n\n```\n@UnstableApi\n@Documented\n@Retention(value = RetentionPolicy.SOURCE)\n@Target(value = ElementType.TYPE_USE)\n@IntDef(value = [Format.NO_VALUE])\npublic annotation C.PcmEncoding\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nRepresents a PCM audio encoding, or an invalid or unset value. One of [NO_VALUE](/reference/androidx/media3/common/Format#NO_VALUE()), [ENCODING_INVALID](/reference/androidx/media3/common/C#ENCODING_INVALID()), [ENCODING_PCM_8BIT](/reference/androidx/media3/common/C#ENCODING_PCM_8BIT()), [ENCODING_PCM_16BIT](/reference/androidx/media3/common/C#ENCODING_PCM_16BIT()), [ENCODING_PCM_16BIT_BIG_ENDIAN](/reference/androidx/media3/common/C#ENCODING_PCM_16BIT_BIG_ENDIAN()), [ENCODING_PCM_24BIT](/reference/androidx/media3/common/C#ENCODING_PCM_24BIT()), [ENCODING_PCM_24BIT_BIG_ENDIAN](/reference/androidx/media3/common/C#ENCODING_PCM_24BIT_BIG_ENDIAN()), [ENCODING_PCM_32BIT](/reference/androidx/media3/common/C#ENCODING_PCM_32BIT()), [ENCODING_PCM_32BIT_BIG_ENDIAN](/reference/androidx/media3/common/C#ENCODING_PCM_32BIT_BIG_ENDIAN()), [ENCODING_PCM_FLOAT](/reference/androidx/media3/common/C#ENCODING_PCM_FLOAT())."]]