Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f8ebe373
Commit
f8ebe373
authored
Mar 08, 2013
by
Anatoliy Anischovich
Committed by
Rémi Denis-Courmont
Mar 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audio output core: normalize tracks without replaygain peak data (fix #8165)
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
94a3b14c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/audio_output/volume.c
src/audio_output/volume.c
+4
-4
No files found.
src/audio_output/volume.c
View file @
f8ebe373
...
...
@@ -179,10 +179,10 @@ static float aout_ReplayGainSelect(vlc_object_t *obj, const char *str,
multiplier
=
pow
(
10
.,
gain
/
20
.);
if
(
replay_gain
->
pb_peak
[
mode
]
&&
var_InheritBool
(
obj
,
"audio-replay-gain-peak-protection"
)
&&
replay_gain
->
pf_peak
[
mode
]
*
multiplier
>
1
.
f
)
multiplier
=
1
.
f
/
replay_gain
->
pf_peak
[
mode
]
;
if
(
var_InheritBool
(
obj
,
"audio-replay-gain-peak-protection"
))
multiplier
=
fminf
(
multiplier
,
replay_gain
->
pb_peak
[
mode
]
?
1
.
f
/
replay_gain
->
pf_peak
[
mode
]
:
1
.
f
)
;
}
/* Command line / configuration gain */
...
...
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