Let the game engine manage it's own sound scene. This is to fix bug 1415 (Patch...
[blender-staging.git] / source / blender / src / space.c
index d13ec81b4ba8cc5ffa347889dec21967c61fc6bc..0f80a21c79ac4f738076a2519dd831a3c347e249 100644 (file)
@@ -456,9 +456,9 @@ void start_game(void)
        scene_cfra_store= save_and_reset_all_scene_cfra();
        
 
-       /* sound init is save, only handles once */
-       sound_init_audio();
+       /* game engine will do its own sounds. */
        sound_stop_all_sounds();
+       sound_exit_audio();
        
        /* Before jumping into Ketsji, we configure some settings. */
        space_set_commmandline_options();