mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
avfilter/af_tremolo: clean up extra newlines
Signed-off-by: Kyle Swanson <k@ylo.ph> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
96b165fae2
commit
0131636f22
@ -131,9 +131,7 @@ static int config_input(AVFilterLink *inlink)
|
|||||||
|
|
||||||
for (i = 0; i < inlink->sample_rate; i++) {
|
for (i = 0; i < inlink->sample_rate; i++) {
|
||||||
double env = s->freq * i / inlink->sample_rate;
|
double env = s->freq * i / inlink->sample_rate;
|
||||||
|
|
||||||
env = sin(2 * M_PI * fmod(env + 0.25, 1.0));
|
env = sin(2 * M_PI * fmod(env + 0.25, 1.0));
|
||||||
|
|
||||||
s->table[i] = env * (1 - fabs(offset)) + offset;
|
s->table[i] = env * (1 - fabs(offset)) + offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user