Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
ba6ef53e
Commit
ba6ef53e
authored
Sep 25, 2012
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder_control: remove MixRamp debug messages
These are confusing, and since MixRamp development has ceased, not useful to anybody.
parent
c93a28c6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
10 deletions
+4
-10
_flac_common.c
src/decoder/_flac_common.c
+2
-3
mad_decoder_plugin.c
src/decoder/mad_decoder_plugin.c
+2
-3
decoder_control.c
src/decoder_control.c
+0
-3
decoder_thread.c
src/decoder_thread.c
+0
-1
No files found.
src/decoder/_flac_common.c
View file @
ba6ef53e
...
...
@@ -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
,
...
...
src/decoder/mad_decoder_plugin.c
View file @
ba6ef53e
...
...
@@ -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
);
...
...
src/decoder_control.c
View file @
ba6ef53e
...
...
@@ -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"
);
}
src/decoder_thread.c
View file @
ba6ef53e
...
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment