Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
019ee285
Commit
019ee285
authored
Mar 18, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use %f in equalizer (Closes:#586)
parent
4413d750
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/audio_filter/equalizer.c
modules/audio_filter/equalizer.c
+5
-2
No files found.
modules/audio_filter/equalizer.c
View file @
019ee285
...
@@ -483,10 +483,13 @@ static int PresetCallback( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -483,10 +483,13 @@ static int PresetCallback( vlc_object_t *p_this, char const *psz_cmd,
p_sys
->
f_gamp
*=
pow
(
10
,
eqz_preset_10b
[
i
]
->
f_preamp
/
20
.
0
);
p_sys
->
f_gamp
*=
pow
(
10
,
eqz_preset_10b
[
i
]
->
f_preamp
/
20
.
0
);
for
(
j
=
0
;
j
<
p_sys
->
i_band
;
j
++
)
for
(
j
=
0
;
j
<
p_sys
->
i_band
;
j
++
)
{
{
lldiv_t
div
;
p_sys
->
f_amp
[
j
]
=
EqzConvertdB
(
p_sys
->
f_amp
[
j
]
=
EqzConvertdB
(
eqz_preset_10b
[
i
]
->
f_amp
[
j
]
);
eqz_preset_10b
[
i
]
->
f_amp
[
j
]
);
sprintf
(
psz_newbands
,
"%s %f"
,
psz_newbands
,
div
=
lldiv
(
eqz_preset_10b
[
i
]
->
f_amp
[
j
]
*
10000000
,
eqz_preset_10b
[
i
]
->
f_amp
[
j
]
);
10000000
);
sprintf
(
psz_newbands
,
"%s "
I64Fd
".%07u"
,
psz_newbands
,
div
.
quot
,
(
unsigned
int
)
div
.
rem
);
}
}
if
(
p_sys
->
b_first
==
VLC_FALSE
)
if
(
p_sys
->
b_first
==
VLC_FALSE
)
{
{
...
...
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