diff options
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 9f5bd8bc..2e8a952b 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -557,6 +557,10 @@ static ALenum GetSourcedv(const ALsource *Source, ALCcontext *Context, ALenum na switch(name) { + case AL_PITCH: + *values = Source->Pitch; + break; + case AL_MAX_DISTANCE: *values = Source->MaxDistance; break; @@ -577,6 +581,18 @@ static ALenum GetSourcedv(const ALsource *Source, ALCcontext *Context, ALenum na *values = Source->OuterAngle; break; + case AL_MIN_GAIN: + *values = Source->MinGain; + break; + + case AL_MAX_GAIN: + *values = Source->MaxGain; + break; + + case AL_CONE_OUTER_GAIN: + *values = Source->OuterGain; + break; + case AL_SEC_OFFSET: case AL_SAMPLE_OFFSET: case AL_BYTE_OFFSET: |