Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7207 in orxonox.OLD for branches/std/src/lib/sound


Ignore:
Timestamp:
Mar 9, 2006, 11:35:50 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: evil was within

Location:
branches/std/src/lib/sound
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/lib/sound/sound_engine.cc

    r7203 r7207  
    117117   acctualy this is nothing more than a wrapper around the ResourceManager.
    118118*/
    119 SoundSource* SoundEngine::createSource(const char* fileName, PNode* sourceNode)
     119SoundSource* SoundEngine::createSource(const std::string& fileName, PNode* sourceNode)
    120120{
    121121  return new SoundSource(sourceNode, (SoundBuffer*)ResourceManager::getInstance()->load(fileName, WAV, RP_LEVEL));
  • branches/std/src/lib/sound/sound_engine.h

    r6849 r7207  
    3333    void loadSettings(IniParser* iniParser);
    3434
    35     SoundSource* createSource(const char* fileName, PNode* sourceNode = NULL);
     35    SoundSource* createSource(const std::string& fileName, PNode* sourceNode = NULL);
    3636
    3737    /** @param listener the listener in the scene */
Note: See TracChangeset for help on using the changeset viewer.