aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMidi.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-23 03:23:42 -0800
committerChris Robinson <[email protected]>2013-12-23 03:23:42 -0800
commitd7de86966d677366d8514a32be46b3040d9bc902 (patch)
tree81bc0fd23772a09179ed7973ae3835e70c0bf49e /OpenAL32/Include/alMidi.h
parent0df5eb90ea0d244050f71c5f71167c46cbc17355 (diff)
Add methods to get and set a preset object's preset and bank numbers
Diffstat (limited to 'OpenAL32/Include/alMidi.h')
-rw-r--r--OpenAL32/Include/alMidi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h
index fffb1174..b37a6546 100644
--- a/OpenAL32/Include/alMidi.h
+++ b/OpenAL32/Include/alMidi.h
@@ -87,8 +87,8 @@ void ReleaseALInstruments(ALCdevice *device);
typedef struct ALsfpreset {
volatile RefCount ref;
- ALint Program;
- ALint Bank;
+ ALint Preset; /* a.k.a. MIDI program number */
+ ALint Bank; /* MIDI bank 0...127, or percussion (bank 128) */
ALsfzone *Zones;
ALsizei NumZones;