Changeset 7207 in orxonox.OLD for branches/std/src/lib/sound
- Timestamp:
- Mar 9, 2006, 11:35:50 PM (19 years ago)
- Location:
- branches/std/src/lib/sound
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/lib/sound/sound_engine.cc
r7203 r7207 117 117 acctualy this is nothing more than a wrapper around the ResourceManager. 118 118 */ 119 SoundSource* SoundEngine::createSource(const char*fileName, PNode* sourceNode)119 SoundSource* SoundEngine::createSource(const std::string& fileName, PNode* sourceNode) 120 120 { 121 121 return new SoundSource(sourceNode, (SoundBuffer*)ResourceManager::getInstance()->load(fileName, WAV, RP_LEVEL)); -
branches/std/src/lib/sound/sound_engine.h
r6849 r7207 33 33 void loadSettings(IniParser* iniParser); 34 34 35 SoundSource* createSource(const char*fileName, PNode* sourceNode = NULL);35 SoundSource* createSource(const std::string& fileName, PNode* sourceNode = NULL); 36 36 37 37 /** @param listener the listener in the scene */
Note: See TracChangeset
for help on using the changeset viewer.