aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-09-25 11:08:16 +0200
committerMax Kellermann <max@duempel.org>2012-09-25 11:08:16 +0200
commitba6ef53ef95dfd48ce0e5dd161b3199b431044ed (patch)
treef0667d38b74b8e59789920a658d4b3322b9a7e02 /src/decoder
parentc93a28c641be7c89fee5a00f11cbfec14d8f71d8 (diff)
downloadmpd-ba6ef53ef95dfd48ce0e5dd161b3199b431044ed.tar.gz
mpd-ba6ef53ef95dfd48ce0e5dd161b3199b431044ed.tar.xz
mpd-ba6ef53ef95dfd48ce0e5dd161b3199b431044ed.zip
decoder_control: remove MixRamp debug messages
These are confusing, and since MixRamp development has ceased, not useful to anybody.
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/_flac_common.c5
-rw-r--r--src/decoder/mad_decoder_plugin.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/src/decoder/_flac_common.c b/src/decoder/_flac_common.c
index bab3995f0..d7f0c4a8a 100644
--- a/src/decoder/_flac_common.c
+++ b/src/decoder/_flac_common.c
@@ -124,11 +124,10 @@ void flac_metadata_common_cb(const FLAC__StreamMetadata * block,
case FLAC__METADATA_TYPE_VORBIS_COMMENT:
if (flac_parse_replay_gain(&rgi, block))
replay_gain_db = decoder_replay_gain(data->decoder, &rgi);
- if (flac_parse_mixramp(&mixramp_start, &mixramp_end, block)) {
- g_debug("setting mixramp_tags");
+
+ if (flac_parse_mixramp(&mixramp_start, &mixramp_end, block))
decoder_mixramp(data->decoder, replay_gain_db,
mixramp_start, mixramp_end);
- }
if (data->tag != NULL)
flac_vorbis_comments_to_tag(data->tag, NULL,
diff --git a/src/decoder/mad_decoder_plugin.c b/src/decoder/mad_decoder_plugin.c
index a69284be5..62c371642 100644
--- a/src/decoder/mad_decoder_plugin.c
+++ b/src/decoder/mad_decoder_plugin.c
@@ -365,11 +365,10 @@ static void mp3_parse_id3(struct mp3_data *data, size_t tagsize,
replay_gain_db = decoder_replay_gain(data->decoder, &rgi);
data->found_replay_gain = true;
}
- if (parse_id3_mixramp(&mixramp_start, &mixramp_end, id3_tag)) {
- g_debug("setting mixramp_tags");
+
+ if (parse_id3_mixramp(&mixramp_start, &mixramp_end, id3_tag))
decoder_mixramp(data->decoder, replay_gain_db,
mixramp_start, mixramp_end);
- }
}
id3_tag_delete(id3_tag);