aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-03-09 06:01:27 -0800
committerChris Robinson <[email protected]>2021-03-09 06:01:27 -0800
commit5e481e7654c680aa45fd8ec8a22331a9366d7f57 (patch)
tree673d223580634fcbae502e614f18820c22b0ad11 /build
parente824c808a0662361c9acdd9f97390d2412f21981 (diff)
Don't verify and hold a device reference in alcRenderSamplesSOFT
NULL devices are still checked, but invalid non-NULL device handles will invoke undefined behavior, as will attempting to close the device while the function is being executed (modifying the device state while the function is being called was inadvertently already UB, and will now remain so). This change is solely so alcRenderSamplesSOFT can be used in a buffer callback, and other places that need functions to be real-time safe. The verification requires locking to access the device list, which isn't allowed in a real-time callback.
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions