diff options
Diffstat (limited to 'Alc/midi/soft.c')
-rw-r--r-- | Alc/midi/soft.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/midi/soft.c b/Alc/midi/soft.c index 688924d4..a000266b 100644 --- a/Alc/midi/soft.c +++ b/Alc/midi/soft.c @@ -129,12 +129,11 @@ MidiSynth *SSynth_create(ALCdevice *device) return NULL; } - synth = SSynth_New(sizeof(*synth)); + NEW_OBJ(synth, SSynth)(device); if(!synth) { ERR("Failed to allocate SSynth\n"); return NULL; } - SSynth_Construct(synth, device); return STATIC_CAST(MidiSynth, synth); } |