9. Plugin deactivation and Jam deinitialisation
void deinitJamPlugin(){ S32 usp=Super(0L); sendJamCmd((void *)0L,(void *)0L,JAM_STOP,0); sendJamCmd((void *)0L,(void *)0L,JAM_DEACTIVATE,0); sendJamCmd((void *)0L,(void *)0L,JAM_DEINIT,0); activePlugin=(void *)0L; SuperToUser(usp); }
10. Release plugin and tune
Release memory as usual.And that's all...