Bug 494051 - When plugging in or unplugging my microphone the audio output changes to line out from headphones.
Summary: When plugging in or unplugging my microphone the audio output changes to line...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-pa
Classification: Plasma
Component: applet (other bugs)
Version First Reported In: 6.1.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-03 16:53 UTC by Répási Dávid
Modified: 2024-10-04 11:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
This is what changes (63.55 KB, image/jpeg)
2024-10-03 16:53 UTC, Répási Dávid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Répási Dávid 2024-10-03 16:53:16 UTC
Created attachment 174372 [details]
This is what changes

SUMMARY
When plugging in or unplugging my microphone that is part of my headphones, under ports for audio output the output will be changed away to line out  from headphones in both cases.

STEPS TO REPRODUCE
1. Plug in/unplug microphone

OBSERVED RESULT
The audio output gets changed to line out (that would be my speakers) away from the headphones.

EXPECTED RESULT
Audio output doesn't get changed because of a microphone gets plugged.

SOFTWARE/OS VERSIONS
Linux: EndeavourOS
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0 
Qt Version: 6.7.3
Comment 1 Harald Sitter 2024-10-03 22:47:21 UTC
As far as I know we do not do automatic port changes, that'd be done upstream in pipewire/wireplumber. Best report a bug there.
Comment 2 Répási Dávid 2024-10-04 06:39:05 UTC
Well, when the system detects a sudden spike in the audio, and mutes/switches output sources for saving your ears, for me it switches to line out from headphones. I say this beacuse the ear protection is a plasma feature, so is it supposed to mute the output instead of switching output sources in that case as well?
Comment 3 Harald Sitter 2024-10-04 11:01:16 UTC
I have never seen code for that that feature. Do you have some documentation/info on it?