Changeset 3892 in orxonox.OLD for orxonox/branches/sound_engine/src/orxonox.cc
- Timestamp:
- Apr 19, 2005, 2:54:20 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/sound_engine/src/orxonox.cc
r3889 r3892 60 60 if( resources != NULL) delete resources; 61 61 delete GraphicsEngine::getInstance(); // delets the Graphics Engine 62 //delete SoundEngine::getInstance(); // deletes the Sound Engine62 delete SoundEngine::getInstance(); // deletes the Sound Engine 63 63 delete ResourceManager::getInstance(); // deletes the Resource Manager 64 64 delete TextEngine::getInstance(); … … 102 102 // initialize everything 103 103 if( initVideo() == -1) return -1; 104 // init sound 104 105 if( initSound() == -1) return -1; 105 106 printf("> Initializing input\n"); … … 112 113 //if( init_world () == -1) return -1; PB: world will be initialized when started 113 114 115 Sound* test = (Sound*)ResourceManager::getInstance()->load("sound/16.mp3", RESOURCE_SOUND_MUSIC, RP_LEVEL); 116 test->play(); 117 114 118 return 0; 115 119 }
Note: See TracChangeset
for help on using the changeset viewer.