aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-02-14 01:22:01 -0800
committerChris Robinson <[email protected]>2016-02-14 01:22:01 -0800
commit25732d0895cc4d320472fc50cd74302d91b24a0c (patch)
treef2a6d757dceaef243881c1e942208db1bebb7d4e /OpenAL32/Include/alSource.h
parenta9135ec39d8722502e92fc5141661c3479d877d9 (diff)
Calculate channel gain stepping just before mixing
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 253cd05f..bf589e8d 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -30,6 +30,9 @@ typedef struct ALvoice {
/** Current target parameters used for mixing. */
ALint Step;
+ /* If not 'moving', gain/coefficients are set directly without fading. */
+ ALboolean Moving;
+
ALboolean IsHrtf;
ALuint Offset; /* Number of output samples mixed since starting. */