diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-10-01 20:15:09 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-10-03 18:07:07 -0300 |
commit | b205fcc17c9958ece69d0038ad282a109c201686 (patch) | |
tree | 30502626288eddcd9f8ab1a43e37156c68b3dc4b /src/modules/bluetooth/module-bluetooth-device.c | |
parent | 20f68bcc461fd20926f8339c97217720f94d57df (diff) |
Cleanup module-bluetooth-discover.
Diffstat (limited to 'src/modules/bluetooth/module-bluetooth-device.c')
-rw-r--r-- | src/modules/bluetooth/module-bluetooth-device.c | 7 |
1 files changed, 0 insertions, 7 deletions
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) |