Rework source tracking
commit6b2dd7a92a370fc27cec5bf0d2a4648b399c064f
authorChris Robinson <chris.kcat@gmail.com>
Sun, 15 Oct 2017 14:31:08 +0000 (15 07:31 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sun, 15 Oct 2017 14:31:08 +0000 (15 07:31 -0700)
tree2edfab626d62ce7ad089a72d3c61ce4c38f66659
parent4fd2992eba30f01495b15ddf71910390764baa3c
Rework source tracking

Context holds separate arrays to update streaming and non-streaming sources to
more efficiently process each set. Source updating has been improved to only
update playing sources instead of all in-use Source objects. Source stopping
has been fixed to correctly remove streaming sources.
src/context.cpp
src/context.h
src/source.cpp
src/source.h
src/sourcegroup.cpp