audioconvert: add dither noise setting in dither struct

Move the noise setting in the dither struct so that it can be
handled separately.
Setup dither separately.
Set used cpu_flags in structures after setup.
This commit is contained in:
Wim Taymans 2022-06-28 10:52:31 +02:00
parent b7e26002be
commit b5e0151cc0
5 changed files with 33 additions and 20 deletions

View file

@ -73,6 +73,7 @@ int volume_init(struct volume *vol)
if (info == NULL)
return -ENOTSUP;
vol->cpu_flags = info->cpu_flags;
vol->free = impl_volume_free;
vol->process = info->process;
return 0;