aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-03-17 08:39:18 -0700
committerChris Robinson <[email protected]>2023-03-17 08:39:18 -0700
commit186a29b77d8ec01c14d13797f9d51c7c21b22b60 (patch)
tree1817aac09c3e404132db2baa15d883726edc00de /al/source.h
parent24508c3901ad9df62b264d5c0d8b7294bb0e218f (diff)
Add a compat option to restore AL_SOFT_buffer_sub_data
Diffstat (limited to 'al/source.h')
-rw-r--r--al/source.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/al/source.h b/al/source.h
index 0882288c..ac97c8a7 100644
--- a/al/source.h
+++ b/al/source.h
@@ -41,6 +41,8 @@ enum class SourceStereo : bool {
#define INVALID_VOICE_IDX static_cast<ALuint>(-1)
+extern bool sBufferSubDataCompat;
+
struct ALbufferQueueItem : public VoiceBufferItem {
ALbuffer *mBuffer{nullptr};