VR: headset audio output and headset microphone while VR is on (switch back on exit) #1122
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#1122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the VR epic #1072. Owner, 2026-10-26: when the headset is on, play the viewer's audio through the headset, and use the headset's microphone for speech-to-text (#1118, #1119).
Today: world audio is OpenAL opened on the system default device (
alcOpenDevice(NULL), llaudioengine_openal.cpp:130) with no device choice and no switching while running. Voice has its ownVoiceInputAudioDevice/VoiceOutputAudioDevice. Media (CEF / VLC / GStreamer plugins) plays on the system default.Finding the headset's devices: OpenXR has no portable way to name the headset's audio devices (only vendor extensions such as
XR_OCULUS_audio_device_guidon Windows). So:Switching:
VR hard rule: with VR off nothing changes: same default device, no device enumeration at startup beyond what exists today.
Test: desktop speakers + Index: start VR -> world sounds, voice and a media prim play in the headset; dictation uses the headset mic (check the log's chosen capture device); quit VR -> audio returns to the speakers without restarting the viewer.