Add a method to start async loading multiple buffers at once
commit6e30c51fac30f01be566ec7c092c0cb023f5d458
authorChris Robinson <chris.kcat@gmail.com>
Fri, 13 Oct 2017 05:17:12 +0000 (12 22:17 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Fri, 13 Oct 2017 05:17:12 +0000 (12 22:17 -0700)
treef40d5f95eaec9fe6d25db8dd57bad72400e72a48
parent2846e7056ed03f1836909be246b4f1c1c89c1d0e
Add a method to start async loading multiple buffers at once

Currently it should try to avoid loading more than 16 buffers at once due to
the fixed lockless rinbuffer size. Might be a good idea to use an atomic linked
list so that it can grow as needed (although having too many files open at once
while waiting to decode could be an issue).
include/AL/alure2.h
src/context.cpp
src/context.h