• Max Kellermann's avatar
    DecoderAPI: don't use replay_gain_get_real_mode() · 7be33eba
    Max Kellermann authored
    replay_gain_get_real_mode() accesses dangerous globals.  Let's just
    use the global variable replay_gain_mode, and assume "AUTO" means
    "TRACK".  At this point, this is the best we can do, because neither
    the decoder nor the player should know about the current replay gain
    mode.  This is applied as a filter in the output thread.
    7be33eba
DecoderAPI.cxx 13.2 KB