Mercurial > hg > dmlib
diff minijss/jssmod.h @ 1224:e667710aee8e
Add functions jssFreeInstrument(), jssFreeExtInstrument() and jssFreePattern().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 06 Mar 2015 09:56:21 +0200 |
parents | 82cc143cb7d2 |
children | dff0dfddaf0a |
line wrap: on
line diff
--- a/minijss/jssmod.h Fri Mar 06 09:54:30 2015 +0200 +++ b/minijss/jssmod.h Fri Mar 06 09:56:21 2015 +0200 @@ -303,8 +303,11 @@ JSSModule * jssAllocateModule(void); int jssFreeModule(JSSModule * module); JSSPattern * jssAllocatePattern(const int nrows, const int nchannels); +void jssFreePattern(JSSPattern *pattern); JSSInstrument * jssAllocateInstrument(void); +void jssFreeInstrument(JSSInstrument *inst); JSSExtInstrument * jssAllocateExtInstrument(void); +void jssFreeExtInstrument(JSSExtInstrument *inst); #ifdef JSS_SUP_XM int jssLoadXM(DMResource *file, JSSModule **pmodule, BOOL probe);