Now sound init param removal revert should be fine (apparently my cmake project files missed rebuild hint for these, fortunately SCons did its job well).

This commit is contained in:
Nathan Letwory
2010-10-16 15:00:04 +00:00
parent 03eb8d0222
commit 53ced0be29
2 changed files with 2 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ static void wm_init_userdef(bContext *C)
UI_init_userdef();
MEM_CacheLimiter_set_maximum(U.memcachelimit * 1024 * 1024);
sound_init();
sound_init(CTX_data_main(C));
/* set the python auto-execute setting from user prefs */
/* disabled by default, unless explicitly enabled in the command line */

View File

@@ -583,7 +583,7 @@ bool GPG_Application::initEngine(GHOST_IWindow* window, const int stereoMode)
if (!m_networkdevice)
goto initFailed;
sound_init();
sound_init(m_maggie);
// create a ketsjisystem (only needed for timing and stuff)
m_kxsystem = new GPG_System (m_system);