This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Archived Documentation

This version of the guide is out of date. Click here for the latest version.

Setup

Installing 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.

Activating 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:
    1. For Unity Native Plugin, add ONSPProfiler.
    2. For FMOD Unity Plugin, add OculusSpatializerFMOD.
    3. 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);