aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMidi.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-05 17:21:34 -0800
committerChris Robinson <[email protected]>2014-01-05 17:21:34 -0800
commit4079ee2200f5ee9fdfd2c068085cff99dfaa5386 (patch)
tree243e51f4698bfe7c62e79ceb420b48777b505251 /OpenAL32/Include/alMidi.h
parent5f961a392ecd5d8486fe85b335cf5c0e5c6de674 (diff)
Add methods to get and set modulator properties on fontsounds
Diffstat (limited to 'OpenAL32/Include/alMidi.h')
-rw-r--r--OpenAL32/Include/alMidi.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h
index 25bed250..b24f43a0 100644
--- a/OpenAL32/Include/alMidi.h
+++ b/OpenAL32/Include/alMidi.h
@@ -9,11 +9,14 @@ extern "C" {
#endif
typedef struct ALsfmodulator {
- ALenum SourceOp;
- ALenum DestOp;
+ struct {
+ ALenum Input;
+ ALenum Type;
+ ALenum Form;
+ } Source[2];
ALint Amount;
- ALenum AmountSourceOp;
ALenum TransformOp;
+ ALenum Dest;
} ALsfmodulator;
@@ -96,6 +99,7 @@ typedef struct ALfontsound {
void ALfontsound_Destruct(ALfontsound *self);
void ALfontsound_setPropi(ALfontsound *self, ALCcontext *context, ALenum param, ALint value);
+void ALfontsound_setModStagei(ALfontsound *self, ALCcontext *context, ALsizei stage, ALenum param, ALint value);
ALfontsound *NewFontsound(ALCcontext *context);