mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
resample-native: fix phase shift
This commit is contained in:
parent
7267a6bc34
commit
5df1c5ae40
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ static void impl_native_reset (struct resample *r)
|
|||
{
|
||||
struct native_data *d = r->data;
|
||||
memset(d->hist_mem, 0, r->channels * sizeof(float) * d->n_taps * 2);
|
||||
d->hist = d->n_taps - 1;
|
||||
d->hist = (d->n_taps / 2) - 1;
|
||||
d->phase = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue