Re: [PATCH BlueZ v4 14/15] Use DBus.Properties on Control interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Lizardo,

On Thu, Oct 04, 2012, Anderson Lizardo wrote:
> On Thu, Oct 4, 2012 at 3:26 AM, Lucas De Marchi
> <lucas.demarchi@xxxxxxxxxxxxxx> wrote:
> > @@ -77,13 +76,11 @@ static void state_changed(struct audio_device *dev, avctp_state_t old_state,
> >                 if (old_state != AVCTP_STATE_CONNECTED)
> >                         break;
> >
> > -               value = FALSE;
> >                 g_dbus_emit_signal(conn, dev->path,
> >                                         AUDIO_CONTROL_INTERFACE,
> >                                         "Disconnected", DBUS_TYPE_INVALID);
> > -               emit_property_changed(dev->path,
> > -                                       AUDIO_CONTROL_INTERFACE, "Connected",
> > -                                       DBUS_TYPE_BOOLEAN, &value);
> > +               g_dbus_emit_property_changed(conn, dev->path,
> > +                                       AUDIO_CONTROL_INTERFACE, "Connected");
> 
> Out of curiosity, do you know why this API has Connected/Disconnected
> signals besides the PropertyChanged("Connected", ...) ?

I think those should have been marked as deprecated in 4.x and removed
for BlueZ 5.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux