static void dev_stop_note(struct SoundPlugin *plugin, int time, note_t note){ Devdata *devdata = (Devdata*)plugin->data; Data *data = devdata->reply.data; if (data != NULL) if (devdata->reply.is_instrument) stop_note2(data, time, note); }
static void stop_note(struct SoundPlugin *plugin, int time, note_t note){ Data *data = (Data*)plugin->data; stop_note2(data, time, note); }