diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2022-11-03 03:09:30 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2022-11-03 03:09:30 -0700 |
commit | 551a18a15c66440e3a5478c8b3d6b973f36c33d3 (patch) | |
tree | 9a198cdb7e57e93128eb90aaeb48a1d9f56b2778 /alc/context.cpp | |
parent | d8361bdd6fa807a4200e18e8ef7ffd13ab849b74 (diff) |
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.
Diffstat (limited to 'alc/context.cpp')
-rw-r--r-- | alc/context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 |