Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2009, 12:18:41 AM (14 years ago)
Author:
rgrieder
Message:

Several small changes in sound:

  • Fixed a bug that caused a sound source to be initialised on pause() even it already existed
  • The XML parameter is now called "looping" instead of "loop" because looping was used really all over the code
  • The "play" XML parameter doesn't exist anymore, use "playOnLoad" for AmbientSound only.
  • Added "pitch" XML parameter
  • Changes in synchronisation policy: Ambient sound should not synchronise the state but instead th new playOnLoad parameter
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/sound/WorldSound.h

    r6370 r6382  
    4646    public:
    4747        WorldSound(BaseObject* creator);
    48         ~WorldSound();
    4948
    5049        void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     
    5352
    5453        void tick(float dt);
     54
     55    protected:
     56        ~WorldSound() {}
    5557
    5658    private:
Note: See TracChangeset for help on using the changeset viewer.