Menu
Login
Language
DE EN FR ES IT CZ
Back

setVolume(eGlobalVolume, value) is ignored in most cases

  • #1, by Lebostein Thursday, 23. April 2015, 18:47 11 years ago Quote
    if you set setVolume(eGlobalVolume, 0) then you should hear nothing. But some played sounds or if you set setVolume(eSoundVolume, ...) reset the global volume. It is very mystic. The values of sound, music and the global value seems reseting/ignoring each other if you change one of them.

    What means "GlobalVolume"? Or is this a bug?

    Key Killer

    621 Posts

  • #2, by afrlme Thursday, 23. April 2015, 19:53 11 years ago Quote
    I believe it is a bug in the build. Global volume is essentially the master volume level for all the different sound types (music, voice, effects & movies).

    Quick example:

    global volume = 100; sound volume = 100 - the sound volume would be played at the loudest setting possible.

    global volume = 80; sound volume = 100 - the sound would be played at 80% volume.

    All sound channels take into account the global volume, the volume of the sound type & the volume set for the played sound file itself. Therefore it returns the calculated volume based on the calculated percentage returned from what I just mentioned.

    here's a quick bit of math: (I hate math by the way)

    global volume: 80%; sound volume: 70%
    -- + --
    70% of 80% = 56% (70 / 100 = 0.7 | 0.7 * 80 = 56)

    I know this doesn't exactly provide a solution, but hopefully it explains how the volumes are calculated.

    Imperator

    7290 Posts

  • #3, by Lebostein Thursday, 23. April 2015, 22:02 11 years ago Quote
    OK, the global volume is what I expected. The it must be a bug. Could be a Mac OS bug, not tested on Windows

    Key Killer

    621 Posts

  • #4, by BigStans Wednesday, 29. April 2015, 00:42 11 years ago Quote
    Fixed - in the next version

    Great Poster

    361 Posts

  • #5, by Lebostein Wednesday, 29. April 2015, 08:12 11 years ago Quote
    Yeah!

    Any news about the release of the next official bugfix build?

    Key Killer

    621 Posts

  • #6, by BigStans Wednesday, 29. April 2015, 23:20 11 years ago Quote
    Yes smile It's in the QA currently.

    Great Poster

    361 Posts

  • #7, by Lebostein Saturday, 09. May 2015, 23:18 11 years ago Quote
    Other issues remain. If you start a game with eGlobalVolume = 0 (GlobalVolume = 0 in ini-file), then the game runs with full volume. I found out that eGlobalVolume is ignored after starting a game until one of the other volume controls was changed

    Key Killer

    621 Posts

  • #8, by Machtnix Sunday, 10. May 2015, 01:48 11 years ago Quote
    Ich habe sämtliche (ich glaube, es gibt drei oder vier, also: Musik=0, Sound=0, Sprache=0 usw.) Volumeneinstellungen parallel auf 0 gesetzt und zu einer Aktion zusammengefasst und mit einem Tastenbefehl zum Stummschalten versehen.

    Thread Captain

    1098 Posts

  • #9, by Lebostein Sunday, 10. May 2015, 08:46 11 years ago Quote
    Na, gut, das kann man machen. Aber das hier ist das Bug-Forum. Hier sollen Fehler gemeldet werden und das ist definitiv ein Fehler. Schließlich kann der unwissende Spieler ja den globalen Regler auf 0 setzen und wundert sich dann, warum immer noch Ton aus dem Lautsprecher kommt...

    Key Killer

    621 Posts

  • #10, by BigStans Tuesday, 12. May 2015, 01:37 11 years ago Quote
    Fixed. smile

    Great Poster

    361 Posts

  • #11, by Lebostein Monday, 22. June 2015, 10:31 11 years ago Quote
    I am not sure, is this fix released already?

    Key Killer

    621 Posts