BackgroundMusic/BGMApp
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
..
BGMApp Hopefully fix a segfault caused by BGM_PlayThrough. 2020-04-18 22:00:49 +10:00
BGMApp.xcodeproj Hopefully fix a segfault caused by BGM_PlayThrough. 2020-04-18 22:00:49 +10:00
BGMAppTests Hopefully fix a segfault caused by BGM_PlayThrough. 2020-04-18 22:00:49 +10:00
BGMXPCHelper Add an archive option (-a) to build_and_install.sh. 2020-02-05 00:09:14 +11:00
BGMXPCHelperTests Refactor non-UI code out of BGMAppVolumes. 2017-10-28 18:13:08 +11:00
OptimizationProfiles Add the Vox music player to BGMApp. 2016-04-18 00:36:55 +10:00
PublicUtility Hopefully fix a segfault caused by BGM_PlayThrough. 2020-04-18 22:00:49 +10:00
BGMThreadSafetyAnalysis.h Hopefully fix a segfault caused by BGM_PlayThrough. 2020-04-18 22:00:49 +10:00