コード例 #1
0
VinylControlXwax::~VinylControlXwax() {
    delete m_pSteadySubtle;
    delete m_pSteadyGross;
    delete [] m_pPitchRing;
    delete [] m_pWorkBuffer;

    // Cleanup xwax nicely
    timecoder_monitor_clear(&timecoder);
    timecoder_clear(&timecoder);

    // TODO(rryan): This looks wrong. freeLUTs is called later by
    // VinylControlProcessor so we are probably leaking the LUTs.
    s_bLUTInitialized = false;

    controlScratch->slotSet(0.0);
}
コード例 #2
0
ファイル: ofApp.cpp プロジェクト: danzeeeman/ofxXwax
void ofApp::exit() {
	timecoder_clear(&timecoder); // class
	timecoder_free_lookup(); // static
}
コード例 #3
0
ファイル: ofxXwax.cpp プロジェクト: scratchml/ofxXwax
ofxXwax::~ofxXwax() {
    timecoder_clear(&timecoder); // class
    timecoder_free_lookup(); // static
}