https://bugs.freedesktop.org/show_bug.cgi?id=99222
--- Comment #3 from Tanu Kaskinen <ta...@iki.fi> ---
(In reply to Christian Kellner from comment #2)
> Just to clarify the problem: Connecting wired headphones will automatically
> select these as default sink (source) for sound. Connecting bluetooth
> headphones will not. I see no reason why the latter should be treated
> differently then the former. Happy to help with this bug (info, debugging,
> coding).
Coding help would be welcome.
The problem is probably very simple: the bluetooth sink just has a lower
priority than the analog output sink. The sink priorities are set in
pa_device_init_priority(). That function seems to assign weird priorities (the
form factor and bus attributes seem to get ranked in the exact opposite order
than what I'd think would make sense), so you can probably fix the bug simply
by adjusting the priorities to be more sane.
In the future the sink priorities will probably be replaced by port priorities,
but I don't think you need to worry about that at this point. I've submitted a
patch for that, but it's stuck in the review process. (I can't review my own
patches, but if you submit a patch, I can review that.)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs