Changeset 20864

Show
Ignore:
Timestamp:
09/25/07 16:25:16 (1 year ago)
Author:
patrick
Message:

I can't see any reason for the methods of snx::sonix to be virtual.
Bumped the version to 1.3.4.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/sonix/ChangeLog

    r20762 r20864  
    11DATE        AUTHOR      CHANGE 
    22----------- ----------- ------------------------------------------------------- 
     3Sep-25-2007 patrick     The methods of snx::sonix are no longer virtual. 
     4                        NEW VERSION: 1.3.4 
    35Sep-04-2007 patrick     Use new environment variable SNX_DATA_DIR as a way to 
    46                        look up files in SNX_BASE_DIR/share/sonix. 
  • juggler/trunk/modules/sonix/VERSION

    r20762 r20864  
     11.3.4-0 @09/25/2007 21:30:00 UTC@ 
    121.3.3-0 @09/05/2007 03:00:00 UTC@ 
    231.3.2-0 @07/08/2007 21:15:00 UTC@ 
  • juggler/trunk/modules/sonix/snx/sonix.h

    r19729 r20864  
    6767 
    6868   /** Virtual destructor. */ 
    69    virtual ~sonix(); 
     69   ~sonix(); 
    7070 
    7171public: 
     
    8282    *              -1 to repeat infinately, 1 (single shot) is default. 
    8383    */ 
    84    virtual void trigger( const std::string& alias, const int& repeat = 1 ); 
     84   void trigger(const std::string& alias, const int& repeat = 1); 
    8585 
    8686   /** 
     
    8989    * @param alias The alias of the sound to query. 
    9090    */ 
    91    virtual bool isPlaying( const std::string& alias ); 
     91   bool isPlaying(const std::string& alias); 
    9292 
    9393   /** 
     
    100100    * @param onOff A Boolean value enabling or disabling retriggering. 
    101101    */ 
    102    virtual void setRetriggerable( const std::string& alias, bool onOff ); 
     102   void setRetriggerable(const std::string& alias, bool onOff); 
    103103 
    104104   /** 
     
    107107    * @param alias The alias of the sound to query. 
    108108    */ 
    109    virtual bool isRetriggerable( const std::string& alias ); 
     109   bool isRetriggerable(const std::string& alias); 
    110110 
    111111   /** 
     
    114114    * @param alias Alias of the sound to be stopped. 
    115115    */ 
    116    virtual void stop( const std::string& alias ); 
     116   void stop(const std::string& alias); 
    117117 
    118118   /** 
     
    122122    * @param alias The alias of the sound to pause. 
    123123    */ 
    124    virtual void pause( const std::string& alias ); 
     124   void pause(const std::string& alias); 
    125125 
    126126   /** 
     
    130130    * @param alias The alias of the sound to unpause. 
    131131    */ 
    132    virtual void unpause( const std::string& alias ); 
     132   void unpause(const std::string& alias); 
    133133 
    134134   /** 
     
    137137    * @param alias The alias of the sound to query. 
    138138    */ 
    139    virtual bool isPaused( const std::string& alias ); 
     139   bool isPaused(const std::string& alias); 
    140140 
    141141   /** 
     
    149149    *                and it defaults to false (the sound is positional). 
    150150    */ 
    151    virtual void setAmbient(const std::string& alias, 
    152                            const bool ambient = false); 
     151   void setAmbient(const std::string& alias, const bool ambient = false); 
    153152 
    154153   /** 
     
    157156    * @param alias The alias of the sound to query. 
    158157    */ 
    159    virtual bool isAmbient( const std::string& alias ); 
     158   bool isAmbient(const std::string& alias); 
    160159 
    161160   /** 
     
    167166    *               a value greather than 1.0 is high. 
    168167    */ 
    169    virtual void setPitchBend( const std::string& alias, float amount ); 
     168   void setPitchBend(const std::string& alias, float amount); 
    170169 
    171170   /** 
     
    177176    *               1.0 inclusive. 
    178177    */ 
    179    virtual void setVolume( const std::string& alias, float amount ); 
     178   void setVolume(const std::string& alias, float amount); 
    180179 
    181180   /** 
     
    187186    *               total cutoff. 
    188187    */ 
    189    virtual void setCutoff( const std::string& alias, float amount ); 
     188   void setCutoff(const std::string& alias, float amount); 
    190189 
    191190   /** 
     
    197196    * @param z     The Z coordinate of the sound in 3D OpenGL coordinates. 
    198197    */ 
    199    virtual void setPosition(const std::string& alias, const float& x
    200                             const float& y, const float& z); 
     198   void setPosition(const std::string& alias, const float& x, const float& y
     199                    const float& z); 
    201200 
    202201   /** 
     
    211210    *              coordinates. 
    212211    */ 
    213    virtual void getPosition(const std::string& alias, float& x, float& y, 
    214                             float& z); 
     212   void getPosition(const std::string& alias, float& x, float& y, float& z); 
    215213 
    216214   /** 
     
    220218    *            listener. 
    221219    */ 
    222    virtual void setListenerPosition( const gmtl::Matrix44f& mat ); 
     220   void setListenerPosition(const gmtl::Matrix44f& mat); 
    223221 
    224222   /** 
     
    227225    * @param mat Storage for returning the position of the listener. 
    228226    */ 
    229    virtual void getListenerPosition( gmtl::Matrix44f& mat ); 
     227   void getListenerPosition(gmtl::Matrix44f& mat); 
    230228 
    231229   /** 
     
    242240    *                implementation. 
    243241    */ 
    244    virtual void changeAPI( const std::string& apiName ); 
     242   void changeAPI(const std::string& apiName); 
    245243 
    246244   /** 
     
    249247    * @param sai A description of the settings for this sound API. 
    250248    */ 
    251    virtual void configure( const snx::SoundAPIInfo& sai ); 
     249   void configure(const snx::SoundAPIInfo& sai); 
    252250 
    253251   /** 
     
    268266    *                    object will be a handle. 
    269267    */ 
    270    virtual void configure(const std::string& alias, 
    271                           const snx::SoundInfo& description); 
     268   void configure(const std::string& alias, 
     269                  const snx::SoundInfo& description); 
    272270 
    273271   /** 
     
    277275    * @param alias The alias of the sound to be removed. 
    278276    */ 
    279    virtual void remove( const std::string alias ); 
     277   void remove(const std::string alias); 
    280278 
    281279   /** 
     
    285283    * @param timeElapsed Time elapsed since the last sound frame. 
    286284    */ 
    287    virtual void step( const float& timeElapsed ); 
     285   void step(const float& timeElapsed); 
    288286 
    289287protected: