bluez4 endpoint_select_configuration

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

 



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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141001/81abbf41/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux