Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
8e4e2c9e
Commit
8e4e2c9e
authored
Dec 25, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_sofalizer: use float constants
parent
530fc345
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
af_sofalizer.c
libavfilter/af_sofalizer.c
+2
-2
No files found.
libavfilter/af_sofalizer.c
View file @
8e4e2c9e
...
...
@@ -152,7 +152,7 @@ static int preload_sofa(AVFilterContext *ctx, char *filename, int *samplingrate)
mysofa_loudness
(
s
->
sofa
.
hrtf
);
if
(
s
->
minphase
)
mysofa_minphase
(
s
->
sofa
.
hrtf
,
0
.
01
);
mysofa_minphase
(
s
->
sofa
.
hrtf
,
0
.
01
f
);
mysofa_tocartesian
(
s
->
sofa
.
hrtf
);
...
...
@@ -466,7 +466,7 @@ static int sofalizer_fast_convolute(AVFilterContext *ctx, void *arg, int jobnr,
for
(
j
=
0
;
j
<
n_read
;
j
++
)
{
/* initialize output buf with saved signal from overflow buf */
dst
[
mult
*
j
]
=
ringbuffer
[
wr
];
ringbuffer
[
wr
]
=
0
.
0
;
/* re-set read samples to zero */
ringbuffer
[
wr
]
=
0
.
0
f
;
/* re-set read samples to zero */
/* update ringbuffer read/write position */
wr
=
(
wr
+
1
)
&
modulo
;
}
...
...
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