xyginext  0.2.0
Second generation of xygine game creation framework
Public Types | Public Member Functions | List of all members
xy::Detail::AudioSourceImpl Class Referenceabstract
Inheritance diagram for xy::Detail::AudioSourceImpl:
xy::Detail::AudioMusic xy::Detail::AudioNull xy::Detail::AudioSound

Public Types

enum  Type { Sound, Music, Null }
 

Public Member Functions

virtual void play ()=0
 
virtual void pause ()=0
 
virtual void stop ()=0
 
virtual void setPitch (float)=0
 
virtual void setVolume (float)=0
 
virtual void setPosition (sf::Vector3f)=0
 
virtual void setRelativeTolistener (bool)=0
 
virtual void setMinDistance (float)=0
 
virtual void setAttenuation (float)=0
 
virtual void setLooped (bool)=0
 
virtual float getPitch () const =0
 
virtual float getVolume () const =0
 
virtual sf::Vector3f getPosition () const =0
 
virtual bool isRelativeToListener () const =0
 
virtual float getMinDistance () const =0
 
virtual float getAttenuation () const =0
 
virtual bool isLooped () const =0
 
virtual sf::Int32 getStatus () const =0
 
virtual sf::Time getDuration () const =0
 
virtual sf::Time getPlayingOffset () const =0
 
virtual void setPlayingOffset (sf::Time)=0
 
virtual Type getType () const =0