opensles: only drain half ringbuffer on start
authorJosep Torra <n770galaxy@gmail.com>
Thu, 27 Sep 2012 15:27:24 +0000 (17:27 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 18 Oct 2012 12:03:09 +0000 (14:03 +0200)
commit08ef2e3eede3cd4663c86c2cd6a2aad918854693
treee6784bf6042b18cd5c331e4048cef23f24b829f1
parent3698d9892116fcb8d0b1be5490db809c6e272bb6
opensles: only drain half ringbuffer on start

At start drain half ringbuffer into the OpenSL so the writting/reading
pointers will start at half ringbuffer distance.
sys/opensles/openslesringbuffer.c