Example #1
0
void BadaSystem::setMute(bool on) {
    // only change mute after eventManager init() has completed
    if (_audioThread) {
        BadaGraphicsManager *graphics = getGraphics();
        if (graphics && graphics->isReady()) {
            _audioThread->setMute(on);
        }
    }
}
Example #2
0
result BadaAppForm::OnDraw(void) {
	logEntered();

	if (g_system) {
		BadaSystem* system = (BadaSystem*) g_system;
		BadaGraphicsManager* graphics = system->getGraphics();
		if (graphics && graphics->isReady()) {
			g_system->updateScreen();
		}
	}

	return E_SUCCESS;
}