audioconvert: improve setup of quantization

Use the quantize value to specify how many bits to quantize to.
This commit is contained in:
Wim Taymans 2022-06-27 20:02:40 +02:00
parent 916050aacd
commit 67c2202044
3 changed files with 7 additions and 7 deletions

View file

@ -33,7 +33,7 @@
#define DITHER_OPS_MAX_OVERREAD 16
struct dither {
uint32_t intensity;
uint32_t quantize;
#define DITHER_METHOD_NONE 0
#define DITHER_METHOD_RECTANGULAR 2
#define DITHER_METHOD_TRIANGULAR 3