Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 11, 2005, 12:55:48 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: setClassID implemented in all files

File:
1 edited

Legend:

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

    r4519 r4597  
    1 /*! 
     1/*!
    22    \file sound_engine.h
    3     \brief Definition of the SoundEngine singleton Class 
     3    \brief Definition of the SoundEngine singleton Class
    44*/
    55
     
    2020
    2121//! A class that represents a datastructure to play Sounds.
    22 class SoundBuffer
     22class SoundBuffer : public BaseObject
    2323{
    2424 public:
     
    3737
    3838//! A class that represents a SoundSource
    39 class SoundSource
     39class SoundSource : virtual public BaseObject
    4040{
    4141 public:
    4242  SoundSource(SoundBuffer* buffer, PNode* sourceNode = NULL);
    4343  ~SoundSource(void);
    44  
     44
    4545  // user interaction
    4646  void play();
     
    4848  void pause();
    4949  void rewind();
    50  
     50
    5151  // development functions
    5252  /** \returns The ID of this Source */
    5353  inline ALuint getID(void) const { return this->sourceID; }
    5454  /** \returns the SoundBuffer of this Source */
    55   inline SoundBuffer* getBuffer(void) const { return this->buffer; } 
     55  inline SoundBuffer* getBuffer(void) const { return this->buffer; }
    5656  /** \returns the SourceNode of this Source */
    5757  inline PNode* getNode(void) const { return this->sourceNode;}
Note: See TracChangeset for help on using the changeset viewer.