From 72c4dd4d10659fb0e3fa973e68f399c6b34d4b99 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 4 Feb 2021 13:09:31 -0800 Subject: Add a alSourceQueueBufferLayersSOFT stub For compatiblity with apps that may have directly linked to it on accident. --- al/source.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/al/source.cpp b/al/source.cpp index 7cddb53a..9be79e9a 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -3396,6 +3396,17 @@ START_API_FUNC END_API_FUNC +AL_API void AL_APIENTRY alSourceQueueBufferLayersSOFT(ALuint, ALsizei, const ALuint*) +START_API_FUNC +{ + ContextRef context{GetContextRef()}; + if UNLIKELY(!context) return; + + context->setError(AL_INVALID_OPERATION, "alSourceQueueBufferLayersSOFT not supported"); +} +END_API_FUNC + + ALsource::ALsource() { Direct.Gain = 1.0f; -- cgit v1.2.3