From 551a18a15c66440e3a5478c8b3d6b973f36c33d3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 3 Nov 2022 03:09:30 -0700 Subject: Add functions to start sources at a particular device time This starts a source at a particular device clock time, rounded to the nearest sample (really, 4th sample for SIMD reasons), allowing to start a sound at a particular point in the output instead of the next update. Unlike using negative offsets, this is not affected by pitch/velocity. --- alc/context.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'alc/context.cpp') diff --git a/alc/context.cpp b/alc/context.cpp index 86c76aaa..a892bb6d 100644 --- a/alc/context.cpp +++ b/alc/context.cpp @@ -78,6 +78,7 @@ constexpr ALchar alExtList[] = "AL_SOFT_source_length " "AL_SOFT_source_resampler " "AL_SOFT_source_spatialize " + "AL_SOFTX_source_start_delay " "AL_SOFT_UHJ"; } // namespace -- cgit v1.2.3