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
6135419a
Commit
6135419a
authored
Jul 20, 2010
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/run_decoder: dump replay gain
parent
2bc5161e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
run_decoder.c
test/run_decoder.c
+12
-1
No files found.
test/run_decoder.c
View file @
6135419a
...
...
@@ -139,8 +139,19 @@ decoder_tag(G_GNUC_UNUSED struct decoder *decoder,
float
decoder_replay_gain
(
G_GNUC_UNUSED
struct
decoder
*
decoder
,
G_GNUC_UNUSED
const
struct
replay_gain_info
*
replay_gain_info
)
const
struct
replay_gain_info
*
replay_gain_info
)
{
const
struct
replay_gain_tuple
*
tuple
=
&
replay_gain_info
->
tuples
[
REPLAY_GAIN_ALBUM
];
if
(
replay_gain_tuple_defined
(
tuple
))
g_printerr
(
"replay_gain[album]: gain=%f peak=%f
\n
"
,
tuple
->
gain
,
tuple
->
peak
);
tuple
=
&
replay_gain_info
->
tuples
[
REPLAY_GAIN_TRACK
];
if
(
replay_gain_tuple_defined
(
tuple
))
g_printerr
(
"replay_gain[track]: gain=%f peak=%f
\n
"
,
tuple
->
gain
,
tuple
->
peak
);
return
0
.
0
;
}
...
...
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