Changeset 4207 in orxonox.OLD for orxonox/branches/openAL/src/lib/sound/sound_engine.h
- Timestamp:
- May 17, 2005, 3:22:37 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/openAL/src/lib/sound/sound_engine.h
r4206 r4207 51 51 52 52 // development functions 53 /** \returns The ID of the Source */ 54 inline ALuint getID(void) { return this->sourceID; } 53 /** \returns The ID of this Source */ 54 inline ALuint getID(void) const { return this->sourceID; } 55 /** \returns the SoundBuffer of this Source */ 56 inline SoundBuffer* getBuffer(void) const { return this->buffer; } 55 57 /** \returns the SourceNode of this Source */ 56 inline PNode* getNode(void) { return this->sourceNode;}58 inline PNode* getNode(void) const { return this->sourceNode;} 57 59 58 60 void setRolloffFactor(ALfloat rolloffFactor); … … 82 84 void removeSource(SoundSource* source); 83 85 84 85 86 void update(void); 86 87 88 void flushUnusedBuffers(void); 87 89 88 90 // error handling:
Note: See TracChangeset
for help on using the changeset viewer.