BackgroundMusic/BGMApp/BGMApp.xcodeproj
Kyle Neideck 488ed16dfc
Hopefully fix a segfault caused by BGM_PlayThrough.
Issue #276 reported a segfault that occurred while BGMApp was launching.
It was caused by BGM_PlayThrough's output IOProc when it tried to read
from the ring buffer. I haven't been able to reproduce the problem, so I
don't know whether this commit will actually fix it. Hopefully it will
at least make it easier to diagnose.

This commit adds locking around accesses to the buffer so that the
IOProcs will skip the current IO cycle if it isn't safe to use the ring
buffer. That should only happen during launch or when changing the
output device. (And only if something else has gone wrong.)
2020-04-18 22:00:49 +10:00
..
xcshareddata/xcschemes Add optional debug logging in release builds. 2020-01-24 08:07:34 +11:00
project.pbxproj Hopefully fix a segfault caused by BGM_PlayThrough. 2020-04-18 22:00:49 +10:00