Esempio n. 1
0
void PS3EYECaptureApp::shutdown()
{
    // You should stop before exiting
    // otherwise the app will keep working
	if (eye)
		eye->stop();
    //
	delete[] frame_bgr;
	delete gui;
}
Esempio n. 2
0
void PS3EyeSlowMoApp::shutdown()
{
    mShouldQuit = true;
    mThread.join();
    // You should stop before exiting
    // otherwise the app will keep working
    eye->stop();
    //
    delete[] frame_bgra;
    //delete gui;
    
}