Bug 500122

Summary: Discord resets Pro Audio profile setting in Pulseaudio
Product: [I don't know] kde Reporter: Shalmon <aliatus.shalmon>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screen capture of audio settings changing

Description Shalmon 2025-02-15 11:55:34 UTC
SUMMARY

I am using a Rodecaster Pro II for audio capture and sound output. With Pro Audio it shows two outputs (named Rodecaster Pro II and USB Audio #1) that I can use independent from each other. Usually I have all my system sound on one output and use the other output for voice calls. That way I can control them on the hardware, independent from each other.
That's the theory.

In reality I can not set discord to the second device, because as soon as I go to the audio settings in discord, a lot of things happen in my audio settings. It looks to me like pipewire is crashing repeatedly, then restarting and rediscovering all my audio devices. This can continue for more then a minute. Eventually it will settle and leave me with my Rodecaster Pro II as active audio device: Sadly in Analog Stereo Duplex which means I only have one input/output instead of two.
This is not limited to the Rodecaster, if I switch my build-in audio to Pro Audio, the same thing happens.

STEPS TO REPRODUCE
1. Have Discord installed and have your audio device set to "Pro Audio" profile
2. Go to Discords Voice and Audio settings
3. ???

OBSERVED RESULT

4. After switching between audio outputs multiple times, it settles on the audio device that was selected with the "Analog Stereo Duplex" profile selected

EXPECTED RESULT

No change in audio devices.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Comment 1 Shalmon 2025-02-15 12:20:13 UTC
Created attachment 178396 [details]
Screen capture of audio settings changing

Here is a screen capture of the bug happening. When I go back to the "Chat" section of the settings, the audio profile goes back to "Profile"
Comment 2 Nate Graham 2025-02-18 23:10:38 UTC
What Discord does to your audio subsystem is unfortunately not something Plasma has any control over or insight into. You'll need to bring this up with the Discord folks, or the developers of PulseAudio/PipeWire/WirePlumber.