aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputAll.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-05 02:07:44 +0100
committerMax Kellermann <max@duempel.org>2013-01-05 02:40:32 +0100
commit7be33eba489825d3a36f3ccbb3571002fcc06c0b (patch)
tree01a50982ccc4e6078a2213c763a3f137d36bc62c /src/OutputAll.cxx
parent46ed91b53d4ee6df3f9b98bcfb4e36a97420b885 (diff)
downloadmpd-7be33eba489825d3a36f3ccbb3571002fcc06c0b.tar.gz
mpd-7be33eba489825d3a36f3ccbb3571002fcc06c0b.tar.xz
mpd-7be33eba489825d3a36f3ccbb3571002fcc06c0b.zip
DecoderAPI: don't use replay_gain_get_real_mode()
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.
Diffstat (limited to 'src/OutputAll.cxx')
0 files changed, 0 insertions, 0 deletions