Public Member Functions | List of all members
nom::OpenAL::Music Class Reference
Inheritance diagram for nom::OpenAL::Music:
[legend]
Collaboration diagram for nom::OpenAL::Music:
[legend]

Public Member Functions

 Music (const SoundBuffer &copy)
 
void setBuffer (const SoundBuffer &copy)
 
void Play (void)
 
void Stop (void)
 
void Pause (void)
 
void togglePause (void)
 
void fadeOut (float seconds)
 
- Public Member Functions inherited from nom::OpenAL::SoundSource
float getVolume (void) const
 
float getMinVolume (void) const
 
float getMaxVolume (void) const
 
float getPitch (void) const
 
bool getLooping (void) const
 
Point3f getPosition (void) const
 
Point3f getVelocity (void) const
 
bool getPositionRelativeToListener (void) const
 
float getMinDistance (void) const
 
float getAttenuation (void) const
 
int32 getBufferID (void) const
 Obtain buffer identifier of source.
 
float getPlayPosition (void) const
 Obtain the current playback position of source in seconds.
 
SoundStatus getStatus (void) const
 Obtain current state of sound.
 
void setVolume (float gain)
 
void setMinVolume (float gain)
 
void setMaxVolume (float gain)
 
void setPitch (float pitch)
 
void setLooping (bool loops)
 
void setPosition (float x, float y, float z)
 
void setPosition (const Point3f &position)
 
void setVelocity (float x, float y, float z)
 
void setVelocity (const Point3f &velocity)
 
void setPositionRelativeToListener (bool position)
 
void setMinDistance (float distance)
 
void setAttenuation (float attenuation)
 
void setPlayPosition (float seconds)
 Set playback position of source in seconds.
 

Additional Inherited Members

- Protected Member Functions inherited from nom::OpenAL::SoundSource
 SoundSource (void)
 Constructor can only be called from deriving classes.
 
- Protected Attributes inherited from nom::OpenAL::SoundSource
uint32 source_id
 Source identification; used by OpenAL.
 

Detailed Description

Definition at line 44 of file Music.hpp.


The documentation for this class was generated from the following files: