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
733962db
Commit
733962db
authored
May 18, 2010
by
Daniel Seuthe
Committed by
Max Kellermann
May 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder_api: return effective replay gain
Pay attention to the ReplayGain mode "auto" and the replay_gain_missing_preamp parameter inside of decoder_replay_gain().
parent
f824ecdf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
decoder_api.c
src/decoder_api.c
+1
-1
No files found.
src/decoder_api.c
View file @
733962db
...
...
@@ -419,7 +419,7 @@ decoder_replay_gain(struct decoder *decoder,
if
(
REPLAY_GAIN_OFF
!=
replay_gain_mode
)
{
return_db
=
20
.
0
*
log10f
(
replay_gain_tuple_scale
(
&
replay_gain_info
->
tuples
[
replay_gain_
mode
],
&
replay_gain_info
->
tuples
[
replay_gain_
get_real_mode
()
],
replay_gain_preamp
));
}
...
...
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