Bluetooth profile selector in audio panel#2373
Open
Aitor42 wants to merge 14 commits intonoctalia-dev:mainfrom
Open
Bluetooth profile selector in audio panel#2373Aitor42 wants to merge 14 commits intonoctalia-dev:mainfrom
Aitor42 wants to merge 14 commits intonoctalia-dev:mainfrom
Conversation
Contributor
|
Um i have a question in mind, storing selected profile within the shell - looks like not needed is it actually? I assume pipewire should be doing that? also can you add screenshots? |
Contributor
Author
You're right, I overlooked the fact that Pipewire automatically provides persistence. I've also added the screenshot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
If this PR is not ready for review yet, please mark it as Draft until it's good to be reviewed.
Motivation
Add the ability to switch between Bluetooth audio profiles (A2DP, HSP/HFP, LDAC, etc.) directly from the Audio Panel. Currently, users must rely on auto-switching rules, CLI scripts, or external mixers like pavucontrol to change profiles. This feature adds a Bluetooth icon button next to Bluetooth audio devices in the Devices tab that opens a dropdown menu with available codec/profile combinations, similar to KDE's implementation.
Additionally, users can optionally enable profile persistence to automatically apply their preferred profile when a Bluetooth device connects.
Type of Change
Mark the relevant option with an "x".
Related Issue
Testing
Describe how you tested your changes and mark the relevant items.
Screenshots / Videos
Checklist
Additional Notes
I think the menu needs polish, I don't have much experience with that so I tried my best. Because of that I modified the NPopup file to do it in a simpler way, but there must be a better way to implement it.