aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/base.c
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 /Alc/midi/base.c
parent0df5eb90ea0d244050f71c5f71167c46cbc17355 (diff)
Add methods to get and set a preset object's preset and bank numbers
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r--Alc/midi/base.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index b7e94fd2..0d81952b 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -425,6 +425,9 @@ void ALsfpreset_Construct(ALsfpreset *self)
{
self->ref = 0;
+ self->Preset = 0;
+ self->Bank = 0;
+
self->Zones = NULL;
self->NumZones = 0;