Пример #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
void ofApp::exit() {
	timecoder_clear(&timecoder); // class
	timecoder_free_lookup(); // static
}
Пример #3
0
ofxXwax::~ofxXwax() {
    timecoder_clear(&timecoder); // class
    timecoder_free_lookup(); // static
}