opensles: rework on the ringbufffer to properly clear segments
authorJosep Torra <n770galaxy@gmail.com>
Thu, 20 Sep 2012 12:16:25 +0000 (14:16 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 18 Oct 2012 12:03:08 +0000 (14:03 +0200)
commit029195399786e6ae44705b7edb7b5c6ade47ce75
tree916065cd7757c017023f7ca01d6b3272e7a8528f
parent29334f323302fee2b8f3ab955f9b252af812fa88
opensles: rework on the ringbufffer to properly clear segments

Make the segments bigger (1 second) as it seems to be the minimum size
we need to not introduce noise.
Sink works in my nexus 7 with rates from 8000 to 44100 and some noise
can be noticed on higger sample rates.
sys/opensles/openslesringbuffer.c
sys/opensles/openslesringbuffer.h