diff options
author | Chris Robinson <[email protected]> | 2021-02-04 13:09:31 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-02-04 13:09:31 -0800 |
commit | 72c4dd4d10659fb0e3fa973e68f399c6b34d4b99 (patch) | |
tree | f080c4ad4b6ca9b1da414b2f63336e1956ed88af | |
parent | ae4eacf147e2c2340cc4e02a790df04c793ed0a9 (diff) |
Add a alSourceQueueBufferLayersSOFT stub
For compatiblity with apps that may have directly linked to it on accident.
-rw-r--r-- | al/source.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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; |