8#ifndef MEDIA_GBASESOUND_H_
9#define MEDIA_GBASESOUND_H_
23 virtual int load(
const std::string& fullPath) = 0;
24 virtual int loadSound(
const std::string& soundPath) = 0;
Definition gBaseSound.h:15
virtual LoopType getLoopType()=0
virtual void setPosition(int position)=0
virtual bool isPaused()=0
virtual void setPaused(bool isPaused)=0
virtual const std::string & getPath()=0
virtual bool isPlaying()=0
LoopType
Definition gBaseSound.h:17
@ LOOPTYPE_NORMAL
Definition gBaseSound.h:20
@ LOOPTYPE_NONE
Definition gBaseSound.h:19
@ LOOPTYPE_DEFAULT
Definition gBaseSound.h:18
virtual int getDuration()=0
virtual int load(const std::string &fullPath)=0
virtual int loadSound(const std::string &soundPath)=0
virtual bool isLoaded()=0
virtual void setLoopType(LoopType loopType)=0
virtual int getPosition()=0
virtual float getVolume()=0
virtual void setVolume(float volume)=0