Make the source state atomic
commit0d19a209014582f1e77ab3b927dfb1af6c307d66
authorChris Robinson <chris.kcat@gmail.com>
Tue, 14 Feb 2017 05:18:18 +0000 (13 21:18 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Tue, 14 Feb 2017 05:18:18 +0000 (13 21:18 -0800)
tree38d5b06d2003a23175522411bfeeffb8fc252f7a
parent0324712540f88d18f1fa8f18f7a72da06af00d75
Make the source state atomic

Since it's modified by the mixer when playback is ended, a plain struct member
isn't safe.
Alc/ALc.c
Alc/ALu.c
Alc/mixer.c
OpenAL32/Include/alSource.h
OpenAL32/alSource.c