Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct SampleFormat

sealed struct SampleFormat
Struct whose value field is used to signify the Audio Sample Format

Fields

Constants

PCM_8_BIT

SampleFormat = {"PCM_8_BIT"}
Sample Format is PCM 8 bits

PCM_16_BIT

SampleFormat = {"PCM_16_BIT"}
Sample Format is PCM signed 16 bits in Q0.15 format

PCM_24_BIT

SampleFormat = {"PCM_24_BIT"}
Sample Format is PCM 24 bits in Q8.23 format

PCM_32_BIT

SampleFormat = {"PCM_32_BIT"}
Sample Format is PCM 32 bits in Q0.31 format

PCM_FLOAT

SampleFormat = {"PCM_FLOAT"}
Sample Format is PCM f32 floating point

PCM_24_BIT_PACKED

SampleFormat = {"PCM_24_BIT_PACKED"}
Sample Format is PCM s24 in Q0.23 format

MP3

SampleFormat = {"MP3"}
Sample Format is MP3

AAC

SampleFormat = {"AAC"}
Sample Format is AAC

OPUS

SampleFormat = {"OPUS"}
Sample Format is OPUS

AC3

SampleFormat = {"AC3"}
Sample Format is Dolby Digital

E_AC3

SampleFormat = {"E_AC3"}
Sample Format is Dolby Digital Plus

E_AC3_JOC

SampleFormat = {"E_AC3_JOC"}
Sample Format is Dolby Atmos

AC4

SampleFormat = {"AC4"}
Sample Format is Dolby AC4

MAT

SampleFormat = {"MAT"}
Sample Format is Dolby MAT

DTS

SampleFormat = {"DTS"}
Sample Format is DTS

DTS_HD

SampleFormat = {"DTS_HD"}
Sample Format is DTS High Definition

IEC61937

SampleFormat = {"IEC61937"}
Sample Format is IEC61937

DOLBY_TRUEHD

SampleFormat = {"DOLBY_TRUEHD"}
Sample Format is Dolby True HD

MPEGH

SampleFormat = {"MPEGH"}
Sample Format is MPEG-H

MPEGH_BL_L3

SampleFormat = {"MPEGH_BL_L3"}
Sample Format is MPEGH Baseline Level 3

MPEGH_BL_L4

SampleFormat = {"MPEGH_BL_L4"}
Sample Format is MPEGH Baseline Level 4

MPEGH_LC_L3

SampleFormat = {"MPEGH_LC_L3"}
Sample Format is MPEGH Low Complexity Level 3

MPEGH_LC_L4

SampleFormat = {"MPEGH_LC_L4"}
Sample Format is MPEGH MasLow Complexity Level 4
Last modified on October 29, 2026