audio: Let capture_callback handler use const buffer argument
commit57a878ed4f76a3a6b06dd8fa7df846adad6633ac
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 5 May 2020 13:25:58 +0000 (5 15:25 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 26 May 2020 06:29:39 +0000 (26 08:29 +0200)
tree0b18c7211b7d3b9714f325e4cd5daaa7b09754c5
parente709d2ac47e71a879294f20e3fb994b7aea55226
audio: Let capture_callback handler use const buffer argument

The buffer is the captured input to pass to backends.
As we should not modify it, mark the argument const.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200505132603.8575-3-f4bug@amsat.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/audio.h
audio/wavcapture.c
ui/vnc.c