void GameScreen::onPause() { m_gameState = Game_State::PAUSED; Assets::getInstance()->setMusicId(MUSIC_STOP); platformPause(); }
JNIEXPORT void Java_com_studio_artaban_kaleidoscope_EngLibrary_pause(JNIEnv* env, jobject obj, jboolean finishing, jboolean lockScreen) { if ((!static_cast<bool>(finishing)) && (camBuffer)) { delete [] camBuffer; camBuffer = NULL; } platformPause(static_cast<bool>(finishing), !static_cast<bool>(lockScreen)); if ((!static_cast<bool>(finishing)) && (micBuffer)) { delete [] micBuffer; micBuffer = NULL; } }
void MediaPlayerPrivateAVFoundation::pause() { LOG(Media, "MediaPlayerPrivateAVFoundation::pause(%p)", this); m_playWhenFramesAvailable = false; platformPause(); }
void GameScreen::onPause() { platformPause(); }