From d030e078790ca24f977a888f53c11c129082abe8 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 29 Dec 2013 03:43:00 -0800 Subject: Add tuning properties --- OpenAL32/Include/alMain.h | 3 +++ OpenAL32/Include/alMidi.h | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 86eef440..d09bfb08 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -73,7 +73,10 @@ #define AL_VOLUME_ENV_KEY_TO_DECAYTIME_SOFT 0x0028 #define AL_KEY_RANGE_SOFT 0x002B #define AL_VELOCITY_RANGE_SOFT 0x002C +#define AL_TUNING_COARSE_SOFT 0x0033 +#define AL_TUNING_FINE_SOFT 0x0034 #define AL_LOOP_MODE_SOFT 0x0036 +#define AL_TUNING_SCALE_SOFT 0x0038 #define AL_LOOP_CONTINUOUS_SOFT 0x0001 #define AL_LOOP_UNTIL_RELEASE_SOFT 0x0003 #define AL_FORMAT_TYPE_SOFT 0x1991 diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h index a6e5c0a3..6faf327f 100644 --- a/OpenAL32/Include/alMidi.h +++ b/OpenAL32/Include/alMidi.h @@ -53,12 +53,18 @@ typedef struct ALfontsound { ALint KeyToDecayTime; } VolEnv; + ALint CoarseTuning; + ALint FineTuning; + + ALenum LoopMode; + + ALint TuningScale; + ALuint Start; ALuint End; ALuint LoopStart; ALuint LoopEnd; ALuint SampleRate; - ALenum LoopMode; ALubyte PitchKey; ALbyte PitchCorrection; ALenum SampleType; -- cgit v1.2.3