audioconvert: add dither passthrough flag

This commit is contained in:
Wim Taymans 2022-06-28 11:31:40 +02:00
parent b5e0151cc0
commit a84bf672e8
3 changed files with 8 additions and 3 deletions

View file

@ -98,5 +98,8 @@ int dither_init(struct dither *d)
d->free = impl_dither_free;
d->process = info->process;
d->is_passthrough = d->noise == 0 && d->method == DITHER_METHOD_NONE;
return 0;
}