audio: Let audio_sample_to_uint64() use const samples argument
commite709d2ac47e71a879294f20e3fb994b7aea55226
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 5 May 2020 13:25:57 +0000 (5 15:25 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 26 May 2020 06:29:30 +0000 (26 08:29 +0200)
treea5f4239a605150a17fb8c4e9d67e3ab4efbebd92
parentcbaf25d1f59ee13fc7542a06ea70784f2e000c04
audio: Let audio_sample_to_uint64() use const samples argument

The samples are the input to convert to u64. As we should
not modify them, mark the argument const.

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