[pulseaudio-discuss] [PATCH] bluetooth: bluez4: For each bluetooth profile use different port names
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Sun Sep 28 03:26:49 PDT 2014
On Thu, 2014-09-25 at 13:27 +0200, David Henningsson wrote:
>
> On 2014-09-25 02:25, Pali Rohár wrote:
> > With this patch it is possible to configure different volume settings for
> > a2dp and hsp profiles. It is usefull for bluetooth headsets which do not have
> > normalized a2dp and hsp volume levels.
> >
> > Module module-device-restore uses port name as identifier, so if different
> > profiles have different names module-device-restore can store volume settings
> > for each profile.
>
> Hi Pali and thanks for the patch,
>
> I understand the problem here, but this is the wrong way to fix it.
>
> First, ports is what unity- and gnome-control-center thinks are most
> closely to physical devices. If you have two different ports, they will
> appear like two different devices.
>
> Second, I believe this problem could potentially exist with other
> (non-bluez) devices too. Imagine the same "Line Out" that is present in
> both stereo and 5.1 profiles. If you switch to 5.1 mode, set all your
> volumes right, and then switch to stereo and change the stereo controls,
> the other four channels' settings are lost.
>
> Maybe it's module-device-restore that needs fixing instead, but it would
> be good to have more people's opinion on that first.
If we use different sink/source names for hsp and a2dp as you suggested
in another mail, I guess that would solve the volume problem? (I don't
know if it would introduce any new problems.)
--
Tanu
More information about the pulseaudio-discuss
mailing list