Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7317 in orxonox.OLD for trunk/src/lib/sound/sound_engine.cc


Ignore:
Timestamp:
Apr 17, 2006, 2:25:27 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: retrieve Source is better now (more modular)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/sound/sound_engine.cc

    r7299 r7317  
    151151 * @param source the Source to fill with the Value.
    152152 */
    153 void SoundEngine::popALSource(ALuint& source)
     153bool SoundEngine::popALSource(ALuint& source)
    154154{
    155155  assert (source == 0);
     
    162162    this->ALSources.pop();
    163163    SDL_mutexV(this->sourceMutex);
    164   }
     164    return true;
     165  }
     166  else
     167    return false;
    165168}
    166169
Note: See TracChangeset for help on using the changeset viewer.