mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
filter-graph: fix compilation
This commit is contained in:
parent
6e2f631230
commit
dc76254d03
1 changed files with 4 additions and 4 deletions
|
|
@ -2092,16 +2092,16 @@ static void max_run(void * Instance, unsigned long SampleCount)
|
|||
return;
|
||||
|
||||
if (in1 != NULL && in2 != NULL) {
|
||||
for (n = 0; n < SampleCount; n++) {
|
||||
for (n = 0; n < SampleCount; n++)
|
||||
out[n] = fmaxf(in1[n], in2[n]);
|
||||
} else if (in1 != NULL) {
|
||||
for (n = 0; n < SampleCount; n++) {
|
||||
for (n = 0; n < SampleCount; n++)
|
||||
out[n] = in1[n];
|
||||
} else if (in2 != NULL) {
|
||||
for (n = 0; n < SampleCount; n++) {
|
||||
for (n = 0; n < SampleCount; n++)
|
||||
out[n] = in2[n];
|
||||
} else {
|
||||
for (n = 0; n < SampleCount; n++) {
|
||||
for (n = 0; n < SampleCount; n++)
|
||||
out[n] = 0.0f;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue