1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-04 21:43:34 +00:00
lovr/src/modules
bjorn 75fda2336f Enforce strict limit of 64 active sources;
If 64 sources are playing and a new one is started, Source:play will
return false.

Instead of a linked list, a static list of 64 Sources is used.

Bit scanning intrinsics are used to efficiently iterate the list,
using a mask (still deciding on this).
2021-02-17 20:46:33 -07:00
..
audio Enforce strict limit of 64 active sources; 2021-02-17 20:46:33 -07:00
data Merge branch 'master' into dev 2021-02-12 08:16:36 -07:00
event Move utf8 back into util; 2021-02-08 20:55:51 -07:00
filesystem Try having arr_t in util; 2021-02-08 18:25:05 -07:00
graphics util.h no longer uses atomics; 2021-02-11 16:37:55 -07:00
headset Merge branch 'master' into dev 2021-02-12 08:16:36 -07:00
math util.h no longer uses atomics; 2021-02-11 16:37:55 -07:00
physics util.h no longer uses atomics; 2021-02-11 16:37:55 -07:00
thread util.h no longer uses atomics; 2021-02-11 16:37:55 -07:00
timer platform -> os; 2019-12-13 19:55:46 -08:00