summaryrefslogtreecommitdiff
path: root/engine/xe_sound.hpp
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-09-22 13:36:03 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2022-09-22 13:36:03 -0400
commitcbe1374b032a80bf3d1cf13fd751ea35648c7bea (patch)
treef19871faff2459cb7fa6b7c342ccbc82610a8adc /engine/xe_sound.hpp
parentfinish openal and ALUT (diff)
downloadminecraftvulkan-cbe1374b032a80bf3d1cf13fd751ea35648c7bea.tar.gz
minecraftvulkan-cbe1374b032a80bf3d1cf13fd751ea35648c7bea.tar.bz2
minecraftvulkan-cbe1374b032a80bf3d1cf13fd751ea35648c7bea.zip
sound set volume
Diffstat (limited to '')
-rw-r--r--engine/xe_sound.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/xe_sound.hpp b/engine/xe_sound.hpp
index 334e793..b2a7a14 100644
--- a/engine/xe_sound.hpp
+++ b/engine/xe_sound.hpp
@@ -27,6 +27,7 @@ class XeSound {
void setPosition(glm::vec3 position);
void setLooping(bool looping);
+ void setVolume(float volume);
private:
ALuint source;