Why Meta Quest?
Design
Develop
API reference
Distribute and grow
Blog
Support
API reference
API reference
Select your platform
No SDKs available
No versions available
Overview
AudioClipAudioSource
ImageViewer
Lib
Meta
Conduit
Net
Voice
Voice
AboutWindow
Audio
Audio
AudioClipSettings
BaseAudioClipStream
BaseAudioPlayer
BaseAudioSystem
BufferPoolAudioClipStream
Decoding
Decoding
AudioDecoderJson
AudioDecoderMp3
AudioDecoderMp3Frame
AudioDecoderOpus
AudioDecoderPcm
AudioDecoderWav
IAudioDecoder
IAudioClipProvider
IAudioClipSetter
IAudioClipStream
IAudioPlayer
IAudioSourceProvider
IAudioSystem
RawAudioClipStream
RingBufferRawAudioClipStream
SimulatedAudioPlayer
UnityAudioPlayer
UnityAudioSystem
Hub
INLPRequestOptions
INLPRequestResponseDecoder
INLPRequestResults
ITranscriptionRequestOptions
ITranscriptionRequestResults
IVoiceRequestOptions
IVoiceRequestResults
Logging
NLPRequest
NLPRequestEvents
NLPRequestResponseEvent
NLPRequestResponseValidatorEvent
NLayer
Net
Samples
TelemetryUtilities
TranscriptionRequest
TranscriptionRequestEvent
TranscriptionRequestEvents
UnityOpus
UserTranscriptionRequestEvent
VSDKHub
VoiceRequest
VoiceRequestEvents
Windows
WitAi
Oculus
Code samples
Downloads
Release notes
Supported platforms
Meta
AudioDecoderMp3Frame Class
Extends
IMpegFrame
,
ILogSource
An audio decoder for raw MPEG audio data
Properties
IVLogger
Logger
[Get]
MpegVersion
Version
[Get]
Mpeg version enum
MpegLayer
Layer
[Get]
MPEG Layer
MpegChannelMode
ChannelMode
[Get]
Channel Mode
int
ChannelModeExtension
[Get]
The channel extension bits
int
BitRateIndex
[Get]
The bitrate index (directly from the header)
int
BitRate
[Get]
Bit Rate
int
SampleRateIndex
[Get]
The samplerate index (directly from the header)
int
SampleRate
[Get]
Sample rate of this frame
bool
IsCopyrighted
[Get]
Whether the copyright bit is set
bool
HasCrc
[Get]
Whether a CRC is present
bool
IsCorrupted
[Get]
Whether the CRC check failed (use error concealment strategy)
int
FrameLength
[Get]
Frame length in bytes
int
SampleCount
[Get]
The number of samples in this frame
Fields
bool
IsHeaderDecoded
[Get]
Member Functions
void
Reset
( )
Resets all read specific data
int
Decode
( byte [] buffer,
int bufferOffset,
int bufferLength,
AudioSampleDecodeDelegate
onSamplesDecoded )
Decodes the frame & returns the int of
Parameters
buffer
A buffer of bytes to be decoded into audio sample data
bufferOffset
The buffer start offset used for decoding a reused buffer
bufferLength
The total number of bytes to be used from the buffer
onDecodedSample
Callback following a sample decode
int
ReadBits
( int bitCount )
override string
ToString
( )
Static Member Functions
static void
Reverse< T >
( T [] array,
int start,
int length )
Reverse array without 66 Byte allocation
Object Data for package-static-func
static int
BitRShift
( int number,
int bits )
static string
GetBitString
( int headerData )
Object Data for package-func
int
GetSideDataSize
( )
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
English (US)
© 2026 Meta