diff options
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 12 | ||||
-rw-r--r-- | OpenAL32/alFontsound.c | 2 | ||||
-rw-r--r-- | OpenAL32/alMidi.c | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 82105ab6..b6a9f0ae 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -55,11 +55,11 @@ #define AL_ONE_SOFT 0x0080 #define AL_NOTEON_VELOCITY_SOFT 0x0082 #define AL_NOTEON_KEY_SOFT 0x0083 -/* aftertouch */ -/* channelpressure */ -/* pitchbend */ +/* AL_KEYPRESSURE_SOFT */ +/* AL_CHANNELPRESSURE_SOFT */ +/* AL_PITCHBEND_SOFT */ #define AL_PITCHBEND_SENSITIVITY_SOFT 0x0090 -/* 0...127 CC */ +/* CC 0...127 */ /* Source Type */ #define AL_UNORM_SOFT 0x0000 @@ -74,7 +74,7 @@ #define AL_SWITCH_SOFT 0x0C00 /* Transform op */ -/* linear */ +/* AL_LINEAR_SOFT */ #define AL_ABSOLUTE_SOFT 0x0002 #define AL_SAMPLE_START_SOFT 0x2000 @@ -132,7 +132,7 @@ #define AL_FORMAT_TYPE_SOFT 0x1991 #define AL_NOTEOFF_SOFT 0x0080 #define AL_NOTEON_SOFT 0x0090 -#define AL_AFTERTOUCH_SOFT 0x00A0 +#define AL_KEYPRESSURE_SOFT 0x00A0 #define AL_CONTROLLERCHANGE_SOFT 0x00B0 #define AL_PROGRAMCHANGE_SOFT 0x00C0 #define AL_CHANNELPRESSURE_SOFT 0x00D0 diff --git a/OpenAL32/alFontsound.c b/OpenAL32/alFontsound.c index cfe38ee7..94cf3064 100644 --- a/OpenAL32/alFontsound.c +++ b/OpenAL32/alFontsound.c @@ -838,7 +838,7 @@ void ALfontsound_setModStagei(ALfontsound *self, ALCcontext *context, ALsizei st /* fall-through */ case AL_SOURCE0_INPUT_SOFT: if(!(value == AL_ONE_SOFT || value == AL_NOTEON_VELOCITY_SOFT || - value == AL_NOTEON_KEY_SOFT || value == AL_AFTERTOUCH_SOFT || + value == AL_NOTEON_KEY_SOFT || value == AL_KEYPRESSURE_SOFT || value == AL_CHANNELPRESSURE_SOFT || value == AL_PITCHBEND_SOFT || value == AL_PITCHBEND_SENSITIVITY_SOFT || (value > 0 && value < 120 && !(value == 6 || (value >= 32 && value <= 63) || diff --git a/OpenAL32/alMidi.c b/OpenAL32/alMidi.c index 257a9481..0679b64c 100644 --- a/OpenAL32/alMidi.c +++ b/OpenAL32/alMidi.c @@ -72,7 +72,7 @@ AL_API void AL_APIENTRY alMidiEventSOFT(ALuint64SOFT time, ALenum event, ALsizei if(!context) return; if(!(event == AL_NOTEOFF_SOFT || event == AL_NOTEON_SOFT || - event == AL_AFTERTOUCH_SOFT || event == AL_CONTROLLERCHANGE_SOFT || + event == AL_KEYPRESSURE_SOFT || event == AL_CONTROLLERCHANGE_SOFT || event == AL_PROGRAMCHANGE_SOFT || event == AL_CHANNELPRESSURE_SOFT || event == AL_PITCHBEND_SOFT)) SET_ERROR_AND_GOTO(context, AL_INVALID_ENUM, done); |