aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alSource.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index dace22d6..fe7aa6f3 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -566,6 +566,10 @@ static ALenum GetSourcedv(const ALsource *Source, ALCcontext *Context, ALenum na
switch(name)
{
+ case AL_GAIN:
+ *values = Source->Gain;
+ break;
+
case AL_PITCH:
*values = Source->Pitch;
break;