Sound channel volume not overriding individual volume for sounds.

This commit is contained in:
Stiffly
2015-09-29 11:09:43 +02:00
parent a97dae542d
commit 3ab6c0c5ba
2 changed files with 7 additions and 6 deletions
+3
View File
@@ -16,10 +16,13 @@ class Sound : public Resource
public:
ALuint Buffer() { return m_Buffer; };
std::string Path() { return m_Path; };
float Gain() { return m_Gain; };
void SetGain(const float Gain) { m_Gain = Gain; };
private:
Sound(std::string path);
float m_Gain = 1;
ALuint m_Buffer;
std::string m_Path;