]> git.proxmox.com Git - mirror_qemu.git/commit
audio: fix saturation nonlinearity in clip_* functions
authorVolker Rümelin <vr_qemu@t-online.de>
Sun, 8 Mar 2020 19:33:20 +0000 (20:33 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 16 Mar 2020 09:18:07 +0000 (10:18 +0100)
commit194bdf50697689768335096b6c01c5b010f023ca
tree6cb6fbe1a1df715f0ee6b14f71e2e092731c0444
parent4218fdd77f1c8ab4dab5ced30c3a0db946a6f04c
audio: fix saturation nonlinearity in clip_* functions

The current positive limit for the saturation nonlinearity is
only correct if the type of the result has 8 bits or less.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-id: 20200308193321.20668-5-vr_qemu@t-online.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/mixeng_template.h