openslesringbuffer: Allocate at most 4 internal buffers
authorSebastian Dröge <sebastian@centricular.com>
Thu, 5 Feb 2015 11:22:46 +0000 (12:22 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 5 Feb 2015 11:28:13 +0000 (12:28 +0100)
commit141fb455e8d354f268a58472631dec1aad600f86
treefd4ba373698caa2963aa270456ca1808265069e3
parent616cb1bdc67369bb71bdb5019ff1502d9f3599b8
openslesringbuffer: Allocate at most 4 internal buffers

4 is the "typical" number of buffers defined by Android's OpenSL ES
implementation, and its code is optimized for this. Also because we
have our own ringbuffer around this, we will always have enough
buffering on our side already.

Allows for more efficient processing.
sys/opensles/openslesringbuffer.c