Problem
MediaController activates its cached preferred A2DP profile whenever playback starts, even when the Bluetooth card is already using another A2DP variant such as AAC. Changing between A2DP profiles recreates the PipeWire sink and can stop the stream that triggered activation; players such as Chromium may then pause again immediately.
Expected behavior
When the active card profile is any a2dp-sink variant, leave it unchanged. Select and activate a preferred A2DP profile only when the card is not already using A2DP.
Acceptance criteria
- Starting playback with an active A2DP profile does not call the profile-switch operation.
- The negotiated A2DP codec remains unchanged.
- Cards using off or a non-A2DP profile can still activate the preferred available A2DP profile.
Problem
MediaController activates its cached preferred A2DP profile whenever playback starts, even when the Bluetooth card is already using another A2DP variant such as AAC. Changing between A2DP profiles recreates the PipeWire sink and can stop the stream that triggered activation; players such as Chromium may then pause again immediately.
Expected behavior
When the active card profile is any a2dp-sink variant, leave it unchanged. Select and activate a preferred A2DP profile only when the card is not already using A2DP.
Acceptance criteria