summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Midgley <bmidgley@xmission.com>2007-06-12 13:49:28 +0000
committerBrad Midgley <bmidgley@xmission.com>2007-06-12 13:49:28 +0000
commitd983837c15005d162b04fe02f628afdcf0fc2a8b (patch)
tree818e121ac085dec416d2075cedc286049fb4ac39
parent645b2dbd1f6071102e4cc18c2ff32a236883ff76 (diff)
take out extra setsockopt
-rw-r--r--audio/pcm_bluetooth.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index 42c1e557..a313eab8 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -133,15 +133,6 @@ static int bluetooth_hw_params(snd_pcm_ioplug_t *io, snd_pcm_hw_params_t *params
sizeof(period_count)) == 0)
return 0;
- /* backward compatible to the old patch */
-
- opt_name = (io->stream == SND_PCM_STREAM_PLAYBACK) ?
- SCO_TXBUFS : SCO_RXBUFS;
-
- if (setsockopt(cfg.fd, SOL_SCO, opt_name, &period_count,
- sizeof(period_count)) == 0)
- return 0;
-
SNDERR("%s (%d)", strerror(errno), errno);
SNDERR("Unable to set number of SCO buffers: please upgrade your "
"kernel!");