On Thu, 2016-09-15 at 17:52 +0200, Pali Rohár wrote: > See commit 380a7fc2401ea26151e0383adff05314a263ac31. > > Signed-off-by: Pali Rohár <pali.rohar at gmail.com> > --- > I have this bluez5 patch on my HDD for a long time, but I have not tested > it yet. I think it can be useful so I'm sending it to list... > --- > src/modules/bluetooth/module-bluez5-device.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/modules/bluetooth/module-bluez5-device.c b/src/modules/bluetooth/module-bluez5-device.c > index b8b0493..a05ae8d 100644 > --- a/src/modules/bluetooth/module-bluez5-device.c > +++ b/src/modules/bluetooth/module-bluez5-device.c > @@ -947,7 +947,7 @@ static int add_source(struct userdata *u) { > data.module = u->module; > data.card = u->card; > data.driver = __FILE__; > - data.name = pa_sprintf_malloc("bluez_source.%s", u->device->address); > + data.name = pa_sprintf_malloc("bluez_source.%s.%s", u->device->address, pa_bluetooth_profile_to_string(u->profile)); > data.namereg_fail = false; > pa_proplist_sets(data.proplist, "bluetooth.protocol", pa_bluetooth_profile_to_string(u->profile)); > pa_source_new_data_set_sample_spec(&data, &u->sample_spec); > @@ -1104,7 +1104,7 @@ static int add_sink(struct userdata *u) { > data.module = u->module; > data.card = u->card; > data.driver = __FILE__; > - data.name = pa_sprintf_malloc("bluez_sink.%s", u->device->address); > + data.name = pa_sprintf_malloc("bluez_sink.%s.%s", u->device->address, pa_bluetooth_profile_to_string(u->profile)); > data.namereg_fail = false; > pa_proplist_sets(data.proplist, "bluetooth.protocol", pa_bluetooth_profile_to_string(u->profile)); > pa_sink_new_data_set_sample_spec(&data, &u->sample_spec); Thanks! Applied. -- Tanu