diff options
author | Chris Robinson <[email protected]> | 2013-12-29 00:34:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-29 00:34:58 -0800 |
commit | 09665715ed0c0897834279dcc3f15c24ed01ec2d (patch) | |
tree | 9267920477144a2c332486846355c8ceeb4ce27f /OpenAL32/Include | |
parent | 0d7996409ea300eab47fff096c2d3c5aea592a29 (diff) |
Add support for the fontsound loop mode
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 | ||||
-rw-r--r-- | OpenAL32/Include/alMidi.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 7b1b92dd..0cc06df3 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -50,6 +50,9 @@ #define AL_FONTSOUND_LINK_SOFT 0x2008 #define AL_KEY_RANGE_SOFT 0x002B #define AL_VELOCITY_RANGE_SOFT 0x002C +#define AL_LOOP_MODE_SOFT 0x0036 +#define AL_LOOP_CONTINUOUS_SOFT 0x0001 +#define AL_LOOP_UNTIL_RELEASE_SOFT 0x0003 #define AL_FORMAT_TYPE_SOFT 0x1991 #define AL_NOTEOFF_SOFT 0x0080 #define AL_NOTEON_SOFT 0x0090 diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h index acbc81b5..44d05c1a 100644 --- a/OpenAL32/Include/alMidi.h +++ b/OpenAL32/Include/alMidi.h @@ -28,6 +28,7 @@ typedef struct ALfontsound { ALuint LoopStart; ALuint LoopEnd; ALuint SampleRate; + ALenum LoopMode; ALubyte PitchKey; ALbyte PitchCorrection; ALenum SampleType; |