Develop
Develop
Select your platform

Setup the Oculus Audio Profiler

Updated: Sep 14, 2023
End-of-Life Notice for Oculus Spatializer Plugin
The Oculus Spatializer Plugin has been replaced by the Meta XR Audio SDK and is now in end-of-life stage. It will not receive any further support beyond v47. We strongly discourage its use. Please navigate to the Meta XR Audio SDK documentation for your specific engine:
- Meta XR Audio SDK for Unity Native
- Meta XR Audio SDK for FMOD and Unity
- Meta XR Audio SDK for Wwise and Unity
- Meta XR Audio SDK for Unreal Native
- Meta XR Audio SDK for FMOD and Unreal
- Meta XR Audio SDK for Wwise and Unreal
This documentation is no longer being updated and is subject for removal.
This topic describes how to install and use the Oculus Audio Profiler tool.

Install the Profiler

Download the Oculus Audio Profiler for Windows package from the Audio Packages page.
After downloading the package, extract the contents of the .zip file to the desired location.

Activate Profiling in Your App

We ship the Oculus Spatializer with the analytics server turned off. Before you can profile your app’s audio, you must activate the Oculus Spatializer analytics server in your app.
Oculus Spatializer Plugins in Unity (Native, FMOD, Wwise)
  1. Create an empty game object.
  2. Add the appropriate script component to the game object:
* For Unity Native Plugin, add `ONSPProfiler`.
* For FMOD Unity Plugin, add `OculusSpatializerFMOD`.
* For Wwise Unity Plugin, add `OculusSpatializerWwise`. 3.  Select the **Profiler Enabled** check box. 4.  (Optional) Change the network port if the default port of 2121 is not suitable for your use case.
Oculus Spatializer Plugin for Wwise
  1. Call OSP_Wwise_SetProfilerEnabled(bool enabled);
  2. (Optional) Change the network port if the default port of 2121 is not suitable for your use case by calling OSP_Wwise_SetProfilerPort(int port)
Oculus Spatializer Plugin for FMOD
  1. Call OSP_FMOD_SetProfilerEnabled(bool enabled);
  2. (Optional) Change the network port if the default port of 2121 is not suitable for your use case by calling OSP_FMOD_SetProfilerPort(int port);
Oculus Spatializer Plugin for Native C/C++ Apps
  1. Call ovrAudio_SetProfilerEnabled(ovrAudioContext Context, int enabled);
  2. (Optional) Change the network port if the default port of 2121 is not suitable for your use case by calling ovrAudio_SetProfilerPort(ovrAudioContext Context, int portNumber);
Did you find this page helpful?
Thumbs up icon
Thumbs down icon