Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4746 in orxonox.OLD for orxonox/trunk/src/lib/sound/sound_engine.h


Ignore:
Timestamp:
Jul 1, 2005, 12:48:48 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: changed (void) → ()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/sound/sound_engine.h

    r4597 r4746  
    2424 public:
    2525  SoundBuffer(const char* fileName);
    26   ~SoundBuffer(void);
     26  ~SoundBuffer();
    2727
    2828  /** \returns the ID of the buffer used in this SoundBuffer */
    29   inline ALuint getID(void) { return this->bufferID; }
     29  inline ALuint getID() { return this->bufferID; }
    3030
    3131 private:
     
    4141 public:
    4242  SoundSource(SoundBuffer* buffer, PNode* sourceNode = NULL);
    43   ~SoundSource(void);
     43  ~SoundSource();
    4444
    4545  // user interaction
     
    5151  // development functions
    5252  /** \returns The ID of this Source */
    53   inline ALuint getID(void) const { return this->sourceID; }
     53  inline ALuint getID() const { return this->sourceID; }
    5454  /** \returns the SoundBuffer of this Source */
    55   inline SoundBuffer* getBuffer(void) const { return this->buffer; }
     55  inline SoundBuffer* getBuffer() const { return this->buffer; }
    5656  /** \returns the SourceNode of this Source */
    57   inline PNode* getNode(void) const { return this->sourceNode;}
     57  inline PNode* getNode() const { return this->sourceNode;}
    5858
    5959  void setRolloffFactor(ALfloat rolloffFactor);
     
    7171
    7272 public:
    73   virtual ~SoundEngine(void);
     73  virtual ~SoundEngine();
    7474  /** \returns a Pointer to the only object of this Class */
    75   inline static SoundEngine* getInstance(void) { if (!singletonRef) singletonRef = new SoundEngine();  return singletonRef; };
     75  inline static SoundEngine* getInstance() { if (!singletonRef) singletonRef = new SoundEngine();  return singletonRef; };
    7676
    7777  SoundSource* createSource(const char* fileName, PNode* sourceNode = NULL);
     
    8686  void removeSource(SoundSource* source);
    8787
    88   void update(void);
     88  void update();
    8989
    9090  // administrative
    91   void flushUnusedBuffers(void);
    92   void flushAllBuffers(void);
    93   bool initAudio(void);
     91  void flushUnusedBuffers();
     92  void flushAllBuffers();
     93  bool initAudio();
    9494
    9595  // error handling:
     
    9999
    100100 private:
    101   SoundEngine(void);
     101  SoundEngine();
    102102  static SoundEngine*      singletonRef;             //!< Reference to this class
    103103
Note: See TracChangeset for help on using the changeset viewer.