From b205fcc17c9958ece69d0038ad282a109c201686 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 1 Oct 2008 20:15:09 -0300 Subject: Cleanup module-bluetooth-discover. --- src/modules/bluetooth/module-bluetooth-device.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/modules/bluetooth/module-bluetooth-device.c') diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index 395d54f1..bf9bad65 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -497,13 +497,6 @@ static int bt_getstreamfd(struct userdata *u) { return -errno; } - if (u->transport == BT_CAPABILITIES_TRANSPORT_A2DP) { - if (pa_socket_set_sndbuf(u->stream_fd, 10U*u->link_mtu) < 0) { - pa_log_error("Failed to set socket options for A2DP: %s (%d)",pa_cstrerror(errno), errno); - return -errno; - } - } - // if (setsockopt(u->stream_fd, SOL_SCO, SCO_TXBUFS, &period_count, sizeof(period_count)) == 0) // return 0; // if (setsockopt(u->stream_fd, SOL_SCO, SO_SNDBUF, &period_count, sizeof(period_count)) == 0) -- cgit