Audio: Set overall volume of OpenAL output to 0.8
This commit is contained in:
parent
4b08d82ea4
commit
4560589e25
3 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue