void philipsMidiDestroy(PhilipsMidi* midi) { boardTimerDestroy(midi->timerTrans); boardTimerDestroy(midi->timerRecv); midiIoDestroy(midi->midiIo); archSemaphoreDestroy(midi->semaphore); free(midi); }
static void ym2148Destroy(YM2148* midi) { midiIoDestroy(midi->midiIo); archSemaphoreDestroy(midi->semaphore); }