This page describes the OS-level audio properties and runtime behavior on Meta Horizon OS. These defaults apply at the platform level and affect how Unreal Engine’s audio system captures and renders audio on Meta Quest devices.
Microphone
Default Microphone Properties
Sample depth: 32-bit
Sample rate: 48000 Hz
Channels: 1
Runtime Microphone Muting
Meta Horizon OS has the ability to mute the microphone in your app. This can happen for a number of reasons, including:
Android audio policies around multi-app microphone access might mute the microphone in your app. If this happens, the microphone stream isn’t closed and is provided empty audio data. Your app can check whether the microphone is receiving empty audio data by using the Android AudioManager and your app’s AudioRecordingConfiguration.
Meta Horizon OS system processes may mute the microphone in your app. In this scenario, your app’s microphone stream isn’t closed, but receives empty audio data.
AudioManager.isMicrophoneMute() returns whether your microphone recording stream is receiving empty audio data because its been muted by the Meta Horizon OS.
Audio Rendering
Default Rendering Properties
Sample depth: 32-bit
Sample rate: 48000 Hz
Sample buffer size (Per Channel): 192 samples
Channels: 2
Meta Horizon OS has the ability to convert sample rates. We encourage developers to use the AAUDIO_PERFORMANCE_MODE_LOW_LATENCY flag and use the default sample buffer size to minimize rendering latency.
Unreal Engine audio configuration
The Meta Horizon OS native audio sample rate is 48000 Hz. By default, new Unreal Engine projects use a sample rate of 44100 Hz, which causes the platform to resample audio at runtime and can increase latency. To match the platform’s native sample rate, set the following in your project’s DefaultEngine.ini:
[Audio]
AudioSampleRate=48000
Related resources
The following guides cover spatial audio features such as spatialization, reverb, and room acoustics: