示例#1
0
void vlm5030Destroy(VLM5030* vlm5030)
{
    mixerUnregisterChannel(vlm5030->mixer, vlm5030->handle);

    theVlm5030 = NULL;

    free(vlm5030);
}
示例#2
0
void ym2151Destroy(YM2151* ym2151) 
{
    mixerUnregisterChannel(ym2151->mixer, ym2151->handle);
    boardTimerDestroy(ym2151->timer1);
    boardTimerDestroy(ym2151->timer2);
    YM2151Destroy(ym2151->opl);

    free(ym2151);
}
示例#3
0
void moonsoundDestroy(Moonsound* moonsound) 
{
    mixerUnregisterChannel(moonsound->mixer, moonsound->handle);

    delete moonsound->ymf262;
    delete moonsound->ymf278;
    
    boardTimerDestroy(moonsound->timer1);
    boardTimerDestroy(moonsound->timer2);
}
示例#4
0
文件: Y8950.c 项目: imclab/CocoaMSX
void y8950Destroy(Y8950* y8950) 
{
    mixerUnregisterChannel(y8950->mixer, y8950->handle);
    boardTimerDestroy(y8950->timer1);
    boardTimerDestroy(y8950->timer2);
    OPLDestroy(y8950->opl);

    if (y8950->ykIo != NULL) {
        ykIoDestroy(y8950->ykIo);
    }

    free(y8950);
}