diff options
author | Chris Robinson <[email protected]> | 2012-09-14 09:02:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-14 09:02:36 -0700 |
commit | 965306b296d6599d8562c713c18a01b8766eafee (patch) | |
tree | 8f9f868be4c6e2b8a9b9b328604d73d681d76317 | |
parent | 28086f6cb7f0e5c35a97ba60c8e28969981a8817 (diff) |
Add missing source property retrievals
-rw-r--r-- | OpenAL32/alSource.c | 12 |
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; |