aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-14 09:02:36 -0700
committerChris Robinson <[email protected]>2012-09-14 09:02:36 -0700
commit965306b296d6599d8562c713c18a01b8766eafee (patch)
tree8f9f868be4c6e2b8a9b9b328604d73d681d76317 /OpenAL32/alSource.c
parent28086f6cb7f0e5c35a97ba60c8e28969981a8817 (diff)
Add missing source property retrievals
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index ca3daa3e..21ccb60a 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -508,6 +508,18 @@ static ALenum GetSourcedv(const ALsource *Source, ALCcontext *Context, ALenum na
*values = offsets[0];
break;
+ case AL_CONE_OUTER_GAINHF:
+ *values = Source->OuterGainHF;
+ break;
+
+ case AL_AIR_ABSORPTION_FACTOR:
+ *values = Source->AirAbsorptionFactor;
+ break;
+
+ case AL_ROOM_ROLLOFF_FACTOR:
+ *values = Source->RoomRolloffFactor;
+ break;
+
case AL_DOPPLER_FACTOR:
*values = Source->DopplerFactor;
break;