Commit e92bcbfa authored by Christian Strømme's avatar Christian Strømme Committed by Christian Stromme
Browse files

OpenSL ES: improve buffer logic


Don't use relaxed load and stores, we need to be stricter to avoid
problems with high frequency re-fills of the buffer. If we don't enforce
ordering we might end-up spending more time trying to acquire an open
slot in the buffer. Updating processes bytes is also moved off the
"OpenSL" thread.

Added some comments for improved readability.

Change-Id: Ie27965fc6bf4b8394081ae6419f4933522ada98e
Reviewed-by: default avatarYoann Lopes <yoann.lopes@theqtcompany.com>
Showing with 27 additions and 8 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment