diff options
author | Chris Robinson <[email protected]> | 2014-10-02 18:05:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-10-02 18:05:42 -0700 |
commit | 95ba18cf4e52c439b85ece2daf0b404fa69c7b70 (patch) | |
tree | 2367b5d69488633fb8d596cf3e3b328d81b2753f /OpenAL32/Include/alu.h | |
parent | 9377d0f23730ff0d42a870627ea9a75059c481f4 (diff) |
Make ComputeAngleGains use ComputeDirectionalGains
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index bf5de4fe..fb16d143 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -204,18 +204,18 @@ ALvoid aluInitPanning(ALCdevice *Device); /** * ComputeDirectionalGains * - * Sets channel gains based on the given source's direction. The direction must - * be a 3-component vector no longer than 1 unit. + * Sets channel gains based on a direction. The direction must be a 3-component + * vector no longer than 1 unit. */ void ComputeDirectionalGains(const ALCdevice *device, const ALfloat dir[3], ALfloat ingain, ALfloat gains[MaxChannels]); /** * ComputeAngleGains * - * Sets channel gains based on a given source's angle and its half-width. The - * angle and hwidth parameters are in radians. + * Sets channel gains based on angle and elevation. The angle and elevation + * parameters are in radians, going right and up respectively. */ -void ComputeAngleGains(const ALCdevice *device, ALfloat angle, ALfloat hwidth, ALfloat ingain, ALfloat gains[MaxChannels]); +void ComputeAngleGains(const ALCdevice *device, ALfloat angle, ALfloat elevation, ALfloat ingain, ALfloat gains[MaxChannels]); /** * SetGains |