Use Oculus Lipsync
End-of-Life Notice for Oculus Spatializer Plugin
This documentation is no longer being updated and is subject for removal.
There are three phases when you are using the native API:
- Setup
- The main loop
- Shutdown
- To initialize Oculus Lipsync, call
ovrLipSync_InitializeEx()
. - Then call
ovrLipSync_CreateContextEx()
and check the return value to see if it succeeded. - You should then integrate Lipsync into your application’s audio loop. This involves:
- Obtaining audio input data.
- Processing the audio input, using one of the
ovrLipSync_ProcessFrame
functions. - Passing the results of the Lipsync prediction to the rendering pipeline.
- Destroy the created resources during shutdown. For more information, see the
ovrLipSync_DestroyContext()
and ovr_LipSyncShutdown()
functions.