[pulseaudio-discuss] [PATCH] bluetooth: When doing autoswitch call pa_card_set_profile with save=true
Pali Rohár
pali.rohar at gmail.com
Thu Aug 4 14:05:30 UTC 2016
On Thursday 04 August 2016 10:00:00 Felipe Sateler wrote:
> On 4 August 2016 at 06:59, Tanu Kaskinen <tanuk at iki.fi> wrote:
> > it doesn't make sense for module-card-restore to switch to a profile
> > when an alsa profile becomes available due to the user plugging
> > something in.
>
> Why doesn't it makes sense? I think it makes a lot of sense. One of
> the things I miss from KDE is its capability to restore streams back
> to HDMI when the cable is plugged, or when a bluetooth speaker becomes
> available.
I think that such functionality should be handled by other module (not
card-restore). And to do it correctly you need to specify sound cards
and port names with priorities to that module. So it do switching based
on priorities and some random order (e.g. last used).
In KDE there is GUI for specifying priorities (stored in persistent
storage), so it work as expected.
And switching make sense only immediately after profile is available.
Not randomly at any time (which conflict with this bluetooth policy
module).
--
Pali Rohár
pali.rohar at gmail.com
More information about the pulseaudio-discuss
mailing list