Forum Discussion
EntroPiGames
7 years agoExplorer
Setting “Mirror VR Audio” from code
Hey,
I would like to be
able to toggle the Mirror VR Audio setting from code.
My
application allows users to output two different audio signals to
separate devices (ex. Rift headphones and speakers), so I would like
to be able to disable the Mirror VR audio setting while my
application is running, to avoid the sound from overlapping.
I’m using Unity
and I’ve checked the OVRPlugin script for a function to disable
this setting, but have only found a way to set the default audio
output and input devices.
In the SteamVR
implementation of my app I use the following code to disable audio
mirroring:
OpenVR.Settings.SetString(OpenVR.k_pch_audio_Section,
OpenVR.k_pch_audio_OnPlaybackMirrorDevice_String, string.Empty, ref
error);Would be very useful to have something similar inthe Oculus Utilities.
Thanks for the
help
1 Reply
Replies have been turned off for this discussion
- EntroPiGamesExplorerHi @imperativity,
Any update on if this setting will be exposed in a future update?
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
- 8 months ago
- 6 years ago
- 3 years ago