mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
resample: fix delay reporting
This commit is contained in:
parent
5df1c5ae40
commit
039f6751e1
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ static void impl_native_reset (struct resample *r)
|
||||||
static uint32_t impl_native_delay (struct resample *r)
|
static uint32_t impl_native_delay (struct resample *r)
|
||||||
{
|
{
|
||||||
struct native_data *d = r->data;
|
struct native_data *d = r->data;
|
||||||
return d->n_taps;
|
return d->n_taps / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int impl_native_init(struct resample *r)
|
static int impl_native_init(struct resample *r)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue