client/player: Remove Broadcast parameter
authorClaudia Draghicescu <claudia.rosu@nxp.com>
Tue, 22 Aug 2023 14:29:34 +0000 (17:29 +0300)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
Remove unused gdbus parameter.
Fix length for Codec Specific Configuration.

client/player.c

index 092348c6b64c4038868d411a07cabcbd92c41b2e..81f6f9aa212af9495645d8026a3b88246191c02d 100644 (file)
@@ -110,7 +110,7 @@ static const uint8_t base_lc3_16_2_1[] = {
        0x01, /* Number of Subgroups */
        0x01, /* Number of BIS */
        0x06, 0x00, 0x00, 0x00, 0x00, /* Code ID = LC3 (0x06) */
-       0x11, /* Codec Specific Configuration */
+       0x10, /* Codec Specific Configuration */
        0x02, 0x01, 0x03, /* 16 KHZ */
        0x02, 0x02, 0x01, /* 10 ms */
        0x05, 0x03, 0x01, 0x00, 0x00, 0x00,  /* Front Left */
@@ -2296,9 +2296,6 @@ static void register_endpoint_setup(DBusMessageIter *iter, void *user_data)
                bt_shell_hexdump(ep->meta->iov_base, ep->meta->iov_len);
        }
 
-       g_dbus_dict_append_entry(&dict, "Broadcast", DBUS_TYPE_BOOLEAN,
-                               &ep->broadcast);
-
        dbus_message_iter_close_container(iter, &dict);
 }