diff options
author | Max Kellermann <max@duempel.org> | 2012-09-25 11:08:16 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-09-25 11:08:16 +0200 |
commit | ba6ef53ef95dfd48ce0e5dd161b3199b431044ed (patch) | |
tree | f0667d38b74b8e59789920a658d4b3322b9a7e02 | |
parent | c93a28c641be7c89fee5a00f11cbfec14d8f71d8 (diff) |
decoder_control: remove MixRamp debug messages
These are confusing, and since MixRamp development has ceased, not
useful to anybody.
-rw-r--r-- | src/decoder/_flac_common.c | 5 | ||||
-rw-r--r-- | src/decoder/mad_decoder_plugin.c | 5 | ||||
-rw-r--r-- | src/decoder_control.c | 3 | ||||
-rw-r--r-- | src/decoder_thread.c | 1 |
4 files changed, 4 insertions, 10 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); diff --git a/src/decoder_control.c b/src/decoder_control.c index 70f34b331..2ce03b666 100644 --- a/src/decoder_control.c +++ b/src/decoder_control.c @@ -169,7 +169,6 @@ dc_mixramp_start(struct decoder_control *dc, char *mixramp_start) g_free(dc->mixramp_start); dc->mixramp_start = mixramp_start; - g_debug("mixramp_start = %s", mixramp_start ? mixramp_start : "NULL"); } void @@ -179,7 +178,6 @@ dc_mixramp_end(struct decoder_control *dc, char *mixramp_end) g_free(dc->mixramp_end); dc->mixramp_end = mixramp_end; - g_debug("mixramp_end = %s", mixramp_end ? mixramp_end : "NULL"); } void @@ -189,5 +187,4 @@ dc_mixramp_prev_end(struct decoder_control *dc, char *mixramp_prev_end) g_free(dc->mixramp_prev_end); dc->mixramp_prev_end = mixramp_prev_end; - g_debug("mixramp_prev_end = %s", mixramp_prev_end ? mixramp_prev_end : "NULL"); } diff --git a/src/decoder_thread.c b/src/decoder_thread.c index 1440fc272..af80ed45b 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -468,7 +468,6 @@ decoder_task(gpointer arg) switch (dc->command) { case DECODE_COMMAND_START: - g_debug("clearing mixramp tags"); dc_mixramp_start(dc, NULL); dc_mixramp_prev_end(dc, dc->mixramp_end); dc->mixramp_end = NULL; /* Don't free, it's copied above. */ |