コード例 #1
0
ファイル: VLM5030.c プロジェクト: meesokim/bluemsx-wii
void vlm5030Destroy(VLM5030* vlm5030)
{
    mixerUnregisterChannel(vlm5030->mixer, vlm5030->handle);

    theVlm5030 = NULL;

    free(vlm5030);
}
コード例 #2
0
ファイル: ym2151.c プロジェクト: meesokim/bluemsx-wii
void ym2151Destroy(YM2151* ym2151) 
{
    mixerUnregisterChannel(ym2151->mixer, ym2151->handle);
    boardTimerDestroy(ym2151->timer1);
    boardTimerDestroy(ym2151->timer2);
    YM2151Destroy(ym2151->opl);

    free(ym2151);
}
コード例 #3
0
ファイル: Moonsound.cpp プロジェクト: CocoaMSX/CocoaMSX
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);
}