summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-12 13:05:57 +0200
committerMax Kellermann <max@musicpd.org>2019-08-12 13:05:57 +0200
commit831bc711ca88b4b243b2a09384ecb31a03cdcc93 (patch)
treec37c071c2ea508258c516d4f05922224fcf97e1d /src/config
parentd640961420552fbebdb924dc2b0c8a1c0abc541d (diff)
decoder/mad: remove option "gapless", always do gapless
Why would anybody want to keep the silence inserted by the codec? Other plugins/codecs (such as Vorbis) have this hard-coded as well.
Diffstat (limited to 'src/config')
-rw-r--r--src/config/Migrate.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/config/Migrate.cxx b/src/config/Migrate.cxx
index a50a0b821..895cc3ae8 100644
--- a/src/config/Migrate.cxx
+++ b/src/config/Migrate.cxx
@@ -55,17 +55,8 @@ MigrateCurlProxyConfig(ConfigData &config) noexcept
"proxy_password");
}
-static void
-MigrateMadConfig(ConfigData &config) noexcept
-{
- MigrateParamToBlockParam(config, ConfigOption::GAPLESS_MP3_PLAYBACK,
- ConfigBlockOption::DECODER, "plugin", "mad",
- "gapless");
-}
-
void
Migrate(ConfigData &config) noexcept
{
MigrateCurlProxyConfig(config);
- MigrateMadConfig(config);
}