aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-11-13 05:48:38 -0800
committerChris Robinson <[email protected]>2008-11-13 05:48:38 -0800
commit010f7d12f48f8e046dcda4a5e39221265554e2ff (patch)
tree8a32e64f4bebf6e9f0fc73eed7ed6b7b85d0776b /OpenAL32/Include
parentda684564eae03317a1b38184159f650fc963aa23 (diff)
Don't ramp gains when starting a sound from the beginning
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 2bd1db08..617dc4e3 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -96,6 +96,7 @@ typedef struct ALsource
// Current gains, which are ramped while mixed
ALfloat DryGains[OUTPUTCHANNELS];
ALfloat WetGain;
+ ALboolean FirstStart;
struct ALsource *next;
} ALsource;