conf: fix snd_func_imul accumulator initialization
snd_func_iops() initialized result to 0 for both iadd and imul. For
imul this made every multiplication step multiply by 0, so
snd_func_imul() returned 0 for every input since it was added in
aa7a0dd7 (2006-10-11). The doxygen example for imul therefore did not
match observed behavior.
Initialize the accumulator to 1 for imul and keep the empty integers
list result as 0. Add table-driven config tests covering iadd and imul
single, multi, zero, negative, empty, and out-of-order integer lists.
Fixes: https://github.com/alsa-project/alsa-lib/issues/456
Closes: https://github.com/alsa-project/alsa-lib/pull/511
Signed-off-by: Bojan Janjatovic <bojan.janjatovic@mamut-studio.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>