mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
audioconvert: add dither passthrough flag
This commit is contained in:
parent
b5e0151cc0
commit
a84bf672e8
3 changed files with 8 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue