<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You _cannot_ use flush for drain.</blockquote></div><br>Implementing drain would not make much difference since right now the aout doesn't care about timing (sync is not handled).<br>
<br>Of course Drain & Sync must be implemented, but that would 
requires more time (which i don't have right now) to hack AudioTrack if 
it's even possible.<br><br>Right now, it crashes, but it was working before (still without sync).<br><br>As i said before, the goal of the patch is to fix the crash.<br>