mpd/src/decoder
Max Kellermann 31268ad7cd decoder/opus: fix track/album ReplayGain fallback
Fixes regression by commit 23d5a2b862 -
that commit always pretended that any Opus file has both track and
album gain, and thus disabled the fallback to the other if one is not
set.

This patch changes the logic to only submit ReplayGain if at least one
value is set, and apply the offset only to that value.  If none is
available, then the new check in HandleAudio() will submit only the
output gain.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/977
2020-10-16 18:45:18 +02:00
..
plugins decoder/opus: fix track/album ReplayGain fallback 2020-10-16 18:45:18 +02:00
Bridge.cxx fix double promotions 2020-09-21 09:13:51 +02:00
Bridge.hxx release v0.21.24 2020-06-10 22:58:41 +02:00
Client.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
Command.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
Control.cxx release v0.21.24 2020-06-10 22:58:41 +02:00
Control.hxx release v0.21.24 2020-06-10 22:58:41 +02:00
DecoderAPI.cxx clang-tidy: use auto 2020-09-26 21:33:35 -07:00
DecoderAPI.hxx Merge branch 'v0.21.x' into master 2020-09-04 18:35:21 +02:00
DecoderBuffer.cxx copyright year 2020 2020-01-18 19:23:49 +01:00
DecoderBuffer.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
DecoderList.cxx */plugins/meson.build: define feature macros in Features.h 2020-05-05 15:06:50 +02:00
DecoderList.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
DecoderPlugin.cxx decoder/plugin: add method protocols() 2020-09-21 14:53:18 +02:00
DecoderPlugin.hxx decoder/plugin: add method protocols() 2020-09-21 14:53:18 +02:00
DecoderPrint.cxx remove std::bind usage as much as possible 2020-05-04 15:40:28 -07:00
DecoderPrint.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
Domain.cxx copyright year 2020 2020-01-18 19:23:49 +01:00
Domain.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
meson.build */plugins/meson.build: define feature macros in Features.h 2020-05-05 15:06:50 +02:00
Reader.cxx copyright year 2020 2020-01-18 19:23:49 +01:00
Reader.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
Thread.cxx decoder/plugin: add method protocols() 2020-09-21 14:53:18 +02:00