Changeset 20865
- Timestamp:
- 09/25/07 16:36:26 (1 year ago)
- Files:
-
- juggler/trunk/modules/sonix/ChangeLog (modified) (1 diff)
- juggler/trunk/modules/sonix/VERSION (modified) (1 diff)
- juggler/trunk/modules/sonix/plugins/Audiere/AudiereSoundImplementation.cpp (modified) (2 diffs)
- juggler/trunk/modules/sonix/plugins/Audiere/AudiereSoundImplementation.h (modified) (2 diffs)
- juggler/trunk/modules/sonix/plugins/AudioWorks/AudioWorksSoundImplementation.cpp (modified) (2 diffs)
- juggler/trunk/modules/sonix/plugins/AudioWorks/AudioWorksSoundImplementation.h (modified) (2 diffs)
- juggler/trunk/modules/sonix/plugins/OpenAL/OpenALSoundImplementation.cpp (modified) (2 diffs)
- juggler/trunk/modules/sonix/plugins/OpenAL/OpenALSoundImplementation.h (modified) (2 diffs)
- juggler/trunk/modules/sonix/plugins/Subsynth/SubsynthSoundImplementation.cpp (modified) (2 diffs)
- juggler/trunk/modules/sonix/plugins/Subsynth/SubsynthSoundImplementation.h (modified) (2 diffs)
- juggler/trunk/modules/sonix/plugins/configure.ac (modified) (1 diff)
- juggler/trunk/modules/sonix/snx/ISoundImplementation.h (modified) (2 diffs)
- juggler/trunk/modules/sonix/snx/SoundHandle.h (modified) (2 diffs)
- juggler/trunk/modules/sonix/snx/SoundImplementation.h (modified) (2 diffs)
- juggler/trunk/modules/sonix/snx/StubSoundImplementation.h (modified) (2 diffs)
- juggler/trunk/modules/sonix/snx/sonix.cpp (modified) (3 diffs)
- juggler/trunk/modules/sonix/snx/sonix.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/sonix/ChangeLog
r20864 r20865 1 1 DATE AUTHOR CHANGE 2 2 ----------- ----------- ------------------------------------------------------- 3 Sep-25-2007 patrick Changed method signatures to remove passing of 4 fundamental types by const reference. 5 NEW VERSION: 1.3.5 3 6 Sep-25-2007 patrick The methods of snx::sonix are no longer virtual. 4 7 NEW VERSION: 1.3.4 juggler/trunk/modules/sonix/VERSION
r20864 r20865 1 1.3.5-0 @09/25/2007 21:35:00 UTC@ 1 2 1.3.4-0 @09/25/2007 21:30:00 UTC@ 2 3 1.3.3-0 @09/05/2007 03:00:00 UTC@ juggler/trunk/modules/sonix/plugins/Audiere/AudiereSoundImplementation.cpp
r19729 r20865 81 81 #endif 82 82 83 void AudiereSoundImplementation::step( const float & timeElapsed)83 void AudiereSoundImplementation::step(const float timeElapsed) 84 84 { 85 85 vprASSERT(mDev.get() != NULL && … … 115 115 */ 116 116 void AudiereSoundImplementation::trigger(const std::string& alias, 117 const int &looping)117 const int looping) 118 118 { 119 119 vprASSERT(mDev.get() != NULL && juggler/trunk/modules/sonix/plugins/Audiere/AudiereSoundImplementation.h
r19729 r20865 89 89 * @semantics Triggers a sound 90 90 */ 91 virtual void trigger( const std::string& alias, const int&looping = 0);91 virtual void trigger(const std::string& alias, const int looping = 0); 92 92 93 93 /** … … 249 249 * @input time elapsed since last frame 250 250 */ 251 virtual void step( const float & timeElapsed);251 virtual void step(const float timeElapsed); 252 252 253 253 /** juggler/trunk/modules/sonix/plugins/AudioWorks/AudioWorksSoundImplementation.cpp
r19729 r20865 123 123 * @semantics Triggers a sound 124 124 */ 125 void AudioWorksSoundImplementation::trigger( const std::string & alias, const int & looping ) 125 void AudioWorksSoundImplementation::trigger(const std::string& alias, 126 const int looping) 126 127 { 127 128 snx::SoundImplementation::trigger( alias, looping ); … … 700 701 * @input time elapsed since last frame 701 702 */ 702 void AudioWorksSoundImplementation::step( const float & timeElapsed)703 void AudioWorksSoundImplementation::step(const float timeElapsed) 703 704 { 704 705 if (this->isStarted() == true) juggler/trunk/modules/sonix/plugins/AudioWorks/AudioWorksSoundImplementation.h
r19729 r20865 83 83 * @semantics Triggers a sound 84 84 */ 85 virtual void trigger( const std::string & alias, const int & looping = 0);85 virtual void trigger(const std::string& alias, const int looping = 0); 86 86 87 87 /** … … 222 222 * @input time elapsed since last frame 223 223 */ 224 virtual void step( const float & timeElapsed);224 virtual void step(const float timeElapsed); 225 225 226 226 /** juggler/trunk/modules/sonix/plugins/OpenAL/OpenALSoundImplementation.cpp
r20863 r20865 178 178 */ 179 179 void OpenALSoundImplementation::trigger(const std::string& alias, 180 const int &looping)180 const int looping) 181 181 { 182 182 vprASSERT(mContextId != NULL && mDev != NULL && … … 898 898 } 899 899 900 void OpenALSoundImplementation::step(const float &timeElapsed)900 void OpenALSoundImplementation::step(const float timeElapsed) 901 901 { 902 902 vprASSERT(mContextId != NULL && mDev != NULL && juggler/trunk/modules/sonix/plugins/OpenAL/OpenALSoundImplementation.h
r20862 r20865 101 101 * @semantics Triggers a sound 102 102 */ 103 virtual void trigger( const std::string& alias, const int &looping = 0);103 virtual void trigger( const std::string& alias, const int looping = 0); 104 104 105 105 /** … … 261 261 * @input time elapsed since last frame 262 262 */ 263 virtual void step( const float & timeElapsed);263 virtual void step(const float& timeElapsed); 264 264 265 265 /** juggler/trunk/modules/sonix/plugins/Subsynth/SubsynthSoundImplementation.cpp
r19729 r20865 87 87 #endif 88 88 89 void SubsynthSoundImplementation::step( const float & timeElapsed)89 void SubsynthSoundImplementation::step(const float timeElapsed) 90 90 { 91 91 snx::SoundImplementation::step( timeElapsed ); … … 113 113 * @semantics Triggers a sound 114 114 */ 115 void SubsynthSoundImplementation::trigger( const std::string& alias, const int& looping ) 115 void SubsynthSoundImplementation::trigger(const std::string& alias, 116 const int looping) 116 117 { 117 118 // do nothing if not started. juggler/trunk/modules/sonix/plugins/Subsynth/SubsynthSoundImplementation.h
r19729 r20865 98 98 * @semantics Triggers a sound 99 99 */ 100 virtual void trigger( const std::string& alias, const int &looping = 0);100 virtual void trigger( const std::string& alias, const int looping = 0); 101 101 102 102 /** … … 249 249 * @input time elapsed since last frame 250 250 */ 251 virtual void step( const float & timeElapsed);251 virtual void step(const float timeElapsed); 252 252 253 253 /** juggler/trunk/modules/sonix/plugins/configure.ac
r20579 r20865 143 143 VPR_PATH([1.1.23], ,[AC_MSG_ERROR([*** VPR required for Sonix plug-ins ***])]) 144 144 145 SNX_PATH([1. 1.4], [BUILD_PLUGINS='Y'],145 SNX_PATH([1.3.5], [BUILD_PLUGINS='Y'], 146 146 [AC_MSG_WARN([*** Sonix required for Sonix plug-ins ***]) 147 147 BUILD_PLUGINS='N' juggler/trunk/modules/sonix/snx/ISoundImplementation.h
r19729 r20865 81 81 * -1 is repeat infinitely. 82 82 */ 83 virtual void trigger( const std::string & alias, const int & repeat = 1) = 0;83 virtual void trigger(const std::string& alias, const int repeat = 1) = 0; 84 84 85 85 /** … … 230 230 * @param timeElapsed The time elapsed since the last sound frame. 231 231 */ 232 virtual void step( const float& timeElapsed) = 0;232 virtual void step(const float timeElapsed) = 0; 233 233 234 234 /** juggler/trunk/modules/sonix/snx/SoundHandle.h
r19729 r20865 132 132 * (single shot) is default. 133 133 */ 134 virtual void trigger( const int& repeat = 1)134 virtual void trigger(const int repeat = 1) 135 135 { 136 136 sonix::instance()->trigger( mAlias, repeat ); … … 259 259 * @param z The Z coordinate of the sound in 3D OpenGL coordinates. 260 260 */ 261 virtual void setPosition( const float& x, const float& y, const float& z)261 virtual void setPosition(const float x, const float y, const float z) 262 262 { 263 263 sonix::instance()->setPosition( mAlias, x, y, z ); juggler/trunk/modules/sonix/snx/SoundImplementation.h
r19729 r20865 105 105 * @param repeat The number of times to play. Use -1 to repeat forever. 106 106 */ 107 virtual void trigger( const std::string & alias, const int & repeat = 1)107 virtual void trigger(const std::string& alias, const int repeat = 1) 108 108 { 109 109 vprASSERT(this->isStarted() == true && "must call startAPI prior to this function"); … … 387 387 * @param timeElapsed The time elapsed since the last sound frame. 388 388 */ 389 virtual void step( const float& timeElapsed)389 virtual void step(const float timeElapsed) 390 390 { 391 391 boost::ignore_unused_variable_warning(timeElapsed); juggler/trunk/modules/sonix/snx/StubSoundImplementation.h
r19729 r20865 98 98 * -1 is repeat infinitely. 99 99 */ 100 virtual void trigger( const std::string & alias, const int & looping = 0)100 virtual void trigger(const std::string& alias, const int looping = 0) 101 101 { 102 102 snx::SoundImplementation::trigger( alias, looping ); … … 283 283 * @param timeElapsed The time elapsed since the last sound frame. 284 284 */ 285 virtual void step( const float & timeElapsed)285 virtual void step(const float timeElapsed) 286 286 { 287 287 snx::SoundImplementation::step( timeElapsed ); juggler/trunk/modules/sonix/snx/sonix.cpp
r19729 r20865 79 79 * @semantics Triggers a sound 80 80 */ 81 void sonix::trigger( const std::string& alias, const int& repeat)81 void sonix::trigger(const std::string& alias, const int repeat) 82 82 { 83 83 this->impl().trigger( alias, repeat ); … … 148 148 } 149 149 150 void sonix::setPosition(const std::string& alias, const float &x,151 const float & y, const float&z)150 void sonix::setPosition(const std::string& alias, const float x, 151 const float y, const float z) 152 152 { 153 153 this->impl().setPosition( alias, x, y, z ); … … 260 260 * @input time elapsed since last frame 261 261 */ 262 void sonix::step(const float &timeElapsed)262 void sonix::step(const float timeElapsed) 263 263 { 264 264 this->impl().step( timeElapsed ); juggler/trunk/modules/sonix/snx/sonix.h
r20864 r20865 82 82 * -1 to repeat infinately, 1 (single shot) is default. 83 83 */ 84 void trigger(const std::string& alias, const int &repeat = 1);84 void trigger(const std::string& alias, const int repeat = 1); 85 85 86 86 /** … … 196 196 * @param z The Z coordinate of the sound in 3D OpenGL coordinates. 197 197 */ 198 void setPosition(const std::string& alias, const float & x, const float&y,199 const float &z);198 void setPosition(const std::string& alias, const float x, const float y, 199 const float z); 200 200 201 201 /** … … 283 283 * @param timeElapsed Time elapsed since the last sound frame. 284 284 */ 285 void step(const float &timeElapsed);285 void step(const float timeElapsed); 286 286 287 287 protected:
