Hello, I'm trying to understand endpoint_select_configuration function
behavior in case of HFP endpoint (module is bluez4-util.c).

We create a2dp_sbc_t config (local variable struct);
Then goes it goes

    if (dbus_message_has_path(m, ENDPOINT_PATH_HFP_AG) ||
dbus_message_has_path(m, ENDPOINT_PATH_HFP_HS))
        goto done;

Line below is
    memset(&config, 0, sizeof(config)); //We don't call this as we go to
goto label

In "done:" section we send uninitialized config via dbus.
Is it intentionally or bug or it is just doesn't matter what we send in
case of HFP there.

Thanks!
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to