- Timestamp:
- Dec 11, 2009, 2:05:00 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/BaseSound.h
r6307 r6320 59 59 virtual void pause(); 60 60 61 bool isPlaying() { return this->state_ == Playing; }62 bool isPaused() { return this->state_ == Paused; }63 bool isStopped() { return this->state_ == Stopped; }61 bool isPlaying() const { return this->state_ == Playing; } 62 bool isPaused() const { return this->state_ == Paused; } 63 bool isStopped() const { return this->state_ == Stopped; } 64 64 65 65 void setPlaying(bool val) … … 84 84 void setPitch(float pitch); 85 85 inline void pitchChanged(){ this->setPitch(this->pitch_); } 86 87 void stateChanged(); 86 88 87 89 //ALuint getALAudioSource(void);
Note: See TracChangeset
for help on using the changeset viewer.