setVolume(eGlobalVolume, value) is ignored in most cases

  • #1, by LebosteinThursday, 23. April 2015, 18:47 9 years ago
    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 afrlmeThursday, 23. April 2015, 19:53 9 years ago
    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

    7278 Posts

  • #3, by LebosteinThursday, 23. April 2015, 22:02 9 years ago
    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 BigStansWednesday, 29. April 2015, 00:42 9 years ago
    Fixed - in the next version

    Great Poster

    361 Posts

  • #5, by LebosteinWednesday, 29. April 2015, 08:12 9 years ago
    Yeah!

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

    Key Killer

    621 Posts

  • #6, by BigStansWednesday, 29. April 2015, 23:20 9 years ago
    Yes smile It's in the QA currently.

    Great Poster

    361 Posts

  • #7, by LebosteinSaturday, 09. May 2015, 23:18 9 years ago
    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 MachtnixSunday, 10. May 2015, 01:48 9 years ago
    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

    1097 Posts

  • #9, by LebosteinSunday, 10. May 2015, 08:46 9 years ago
    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 BigStansTuesday, 12. May 2015, 01:37 9 years ago
    Fixed. smile

    Great Poster

    361 Posts

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

    Key Killer

    621 Posts