summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-11-20 18:02:48 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-11-20 18:02:48 +0000
commit47e2c26cc95d761099c367593bbbd4bc581bf0ac (patch)
tree78f28914c96f52015cf43352a8dd3557ea12f2d2
parentfad46eca75efef391fbaf18117ef15ee8000dbea (diff)
Revert commented lines of previous commit.
-rw-r--r--audio/pcm_bluetooth.c7
1 files 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;