openslesringbuffer: Only allocate at most half the number of internal buffers as...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 10 Feb 2015 15:18:34 +0000 (16:18 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 10 Feb 2015 15:18:34 +0000 (16:18 +0100)
commit4ccd4257725b2499ce6f154a718f07741cbf590c
treeb097d94bc6051d93183fa74b1b5abc0aca1e317d
parent9ed4054a940677c123fdf7bdd8080616a690a6bf
openslesringbuffer: Only allocate at most half the number of internal buffers as external audioringbuffer ones

Otherwise we might end up reading too much from the audioringbuffer, which
would result in reading silence.
sys/opensles/openslesringbuffer.c