Fixes for opensles queue handling