Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2009, 10:14:08 PM (14 years ago)
Author:
rgrieder
Message:

Fixed a major sound issue: The state gets reset to 'Stopped' when the sound has finished playing (unless in loop mode of course).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/sound/BaseSound.cc

    r6382 r6383  
    7777            if (!alIsSource(this->audioSource_))
    7878            {
    79                 this->audioSource_ = SoundManager::getInstance().getSoundSource();
     79                this->audioSource_ = SoundManager::getInstance().getSoundSource(this);
    8080                if (!alIsSource(this->audioSource_))
    8181                    return;
Note: See TracChangeset for help on using the changeset viewer.