Skip to content

When audio output devices are changed, the in-world sounds should switch to the new default audio device. #4648

@Dan-Linden

Description

@Dan-Linden

Environment

Windows and Mac

Full Environment

Second Life Release 7.2.1.17108480561 (64bit)
Release Notes

You are at 117.2, 89.8, 21.8 in By Design located at simhost-0f340ca0324a590c7.agni
SLURL: http://maps.secondlife.com/secondlife/By%20Design/117/90/22
(global coordinates 261,493.0, 246,874.0, 21.8)
Second Life Preflight 2025-08-21.17114312399
Release Notes

CPU: 12th Gen Intel(R) Core(TM) i7-12700F (2112 MHz)
Memory: 16221 MB
OS Version: Microsoft Windows 11 64-bit (Build 26100.4946)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: NVIDIA GeForce RTX 4070 Ti/PCIe/SSE2

Windows Graphics Driver Version: 32.0.15.7216
OpenGL Version: 4.6.0 NVIDIA 572.16

Window size: 1210x840
Font Size Adjustment: 96pt
UI Scaling: 1
Draw distance: 128m
Bandwidth: 3000kbit/s
LOD factor: 1.5
Render quality: 4
Texture memory: 12282MB
Disk cache: Max size 2150.4 MB (3.7% used)

J2C Decoder Version: KDU v7.10.4
Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.24.2 / OpenAL Community / OpenAL Soft: OpenAL Soft
Dullahan: 1.14.0.202408091639
CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54
Chromium: 118.0.5993.54
LibVLC Version: 3.0.21
Voice Server Version: Secondlife WebRTC Gateway

Packets Lost: 0/9,287 (0.0%)
September 09 2025 11:51:54

Description

In the 7.1.8.9375512768 (Vivox only) viewer when a different audio device became default, voice and in-world audio would switch over to using the new audio device.
Starting in the 7.1.9.10515727195 (WebRTC support) viewer when a different audio device became default, voice switches over to using the new audio device, but in-world audio still uses the old audio device.

Reproduction steps

  1. Tested on Release 7.2.1.17108480561 2025.06 on Win11: (tower computer + HDMI monitor with sound)
  2. Start the computer with headphones unplugged.
  3. Log SecondLife into a WebRTC region.
  4. Verify you hear in-world sounds (flying noise, gesture sounds) and voice through the computer speakers (or HDMI monitor)
  5. Plug in USB headphones.
  6. Verify in-world sounds (flying, wav sounds) and voice are coming from the same output.

Observed: After connecting the USB headset, in-world sound is coming from computer/monitor speakers, and voice is coming from the headset.

Expected: After connecting the USB headset, voice and in-world sounds should be heard through the headset.

Workaround: After relogging the viewer, all audio is coming through the headset.

Note: This is not fixed in Test 7.2.1.17366753186

Note: In the repro case of switching devices by unplugging a device, voice switches to the new default sound device. In-world audio is no longer heard for that session because it remains with the USB headphones which was unplugged. Good to know in the case where someone reports they cannot hear any in-world sounds.


This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #4648 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @Dan-Linden (replace 20 with the amount, and @Dan-Linden with the user to tip).

📖 If you want to learn more, check out our documentation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingteam:viewertriageFlags issues that need to be triagedwebrtc

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions