summaryrefslogtreecommitdiffstats
path: root/audio/pcm_bluetooth.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-11-09 12:27:25 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-11-09 12:27:25 +0000
commit65086658fce4caf34e85e35a7edf8c312908986d (patch)
tree5b15445e9478b3b9a10518f6876c0311613a6676 /audio/pcm_bluetooth.c
parentdff420207b69768a305ed014f7c7648d027d6b38 (diff)
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)
Diffstat (limited to 'audio/pcm_bluetooth.c')
-rw-r--r--audio/pcm_bluetooth.c6
1 files changed, 1 insertions, 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;