Audio: Set overall volume of OpenAL output to 0.8

This commit is contained in:
Jonas Kulla 2014-12-23 20:12:47 +01:00
parent 4b08d82ea4
commit 4560589e25
3 changed files with 3 additions and 2 deletions

View file

@ -168,7 +168,7 @@ void SoundEmitter::play(const std::string &filename,
if (switchBuffer)
AL::Source::attachBuffer(src, buffer->alBuffer);
AL::Source::setVolume(src, _volume);
AL::Source::setVolume(src, _volume * GLOBAL_VOLUME);
AL::Source::setPitch(src, _pitch);
AL::Source::play(src);