Forum Discussion
Anonymous
7 years agoHow can I use my own Volume Control? From Unity and Oculus GO.
Hi,
I want to overwrite the default volume control windows that appears when the volume buttons are pressed.
In "Native" I read this : "You may override automatic volume display handling if necessary by setting VRAPI_FRAME_FLAG_INHIBIT_VOLUME_LAYER as an ovrFrameParm flag." But I don't know how to use that from Unity.
I want to overwrite the default volume control windows that appears when the volume buttons are pressed.
In "Native" I read this : "You may override automatic volume display handling if necessary by setting VRAPI_FRAME_FLAG_INHIBIT_VOLUME_LAYER as an ovrFrameParm flag." But I don't know how to use that from Unity.
3 Replies
Replies have been turned off for this discussion
- MikeFTrusteei dont think you can bypass the hardware set volume levels since that removes global audio control of the device from the player. By the looks of that API call you mentioned it would only hide the compositor element that is rendered to the display when the user presses one of the volume buttons.
It might not be what you're looking for, but if its just adding an additional volume control layer within your application that you're after i'd recommend looking into unity's audio mixer API which you could tie into an in application UI for controlling volume - AnonymousNo, I don't want to overwrite the way the device sets the volume, I just want to use my own display for the volume, not the default one that Oculus shows automatically when the volume buttons are pressed.
- AnonymousHi,
Did you find how to set VRAPI_FRAME_FLAG_INHIBIT_VOLUME_LAYER as an ovrFrameParm flag ?, I'm trying to do this from unity,
Guillaume
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 years ago