5 #include <unordered_map>
9 #include <glm/gtc/quaternion.hpp>
24 void setListener(
const glm::vec3& position,
const glm::quat& orientation);
25 std::shared_ptr<Sound> create(std::string soundFile);
26 std::shared_ptr<Sound> play(std::string soundFile,
const glm::vec3& position,
bool relative =
false);
27 std::shared_ptr<Sound> play(
const SoundProperties& soundProperties,
const glm::vec3& position,
bool relative =
false);
39 std::unordered_map<std::string, sf::SoundBuffer*> m_buffer;
40 std::list<std::shared_ptr<Sound>> m_sounds;
43 sf::SoundBuffer* obtain(std::string soundFile);
46 std::shared_ptr<Sound> createNullSound();
Definition: soundmanager.h:19
Definition: soundproperties.h:5