From 65086658fce4caf34e85e35a7edf8c312908986d Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 9 Nov 2007 12:27:25 +0000 Subject: Use just one possible value in the period size list since multiple options seem to break vls (looks like it's caused by a bug in the ALSA snd_pcm_hw_params_set_period_size_near function) --- audio/pcm_bluetooth.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c index b3c05cf8..28f5de43 100644 --- a/audio/pcm_bluetooth.c +++ b/audio/pcm_bluetooth.c @@ -894,11 +894,7 @@ static int bluetooth_a2dp_hw_constraint(snd_pcm_ioplug_t *io) SND_PCM_FORMAT_S16_LE }; unsigned int period_list[] = { - 512, /* 3/6ms (mono/stereo 16bit at 44.1kHz) */ - 1024, /* 6/12ms */ - 2048, /* 12/23ms */ - 4096, /* 23/46ms */ - 8192, /* 46/93ms */ + 4096, /* 23/46ms (stereo/mono 16bit at 44.1kHz) */ }; int err, channels; -- cgit