From 47e2c26cc95d761099c367593bbbd4bc581bf0ac Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 20 Nov 2007 18:02:48 +0000 Subject: Revert commented lines of previous commit. --- audio/pcm_bluetooth.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c index f660123f..efe1d2aa 100644 --- a/audio/pcm_bluetooth.c +++ b/audio/pcm_bluetooth.c @@ -938,11 +938,8 @@ static int bluetooth_a2dp_hw_constraint(snd_pcm_ioplug_t *io) return err; /* supported block sizes: */ -// err = snd_pcm_ioplug_set_param_list(io, SND_PCM_IOPLUG_HW_PERIOD_BYTES, -// ARRAY_NELEMS(period_list), period_list); - /* supported block size */ - err = snd_pcm_ioplug_set_param_minmax(io, SND_PCM_IOPLUG_HW_PERIOD_BYTES, - 512, 512); + err = snd_pcm_ioplug_set_param_list(io, SND_PCM_IOPLUG_HW_PERIOD_BYTES, + ARRAY_NELEMS(period_list), period_list); if (err < 0) return err; -- cgit