qemu-e2k/audio
Markus Armbruster ceb19c8f68 qapi audio: Elide redundant has_FOO in generated C
The has_FOO for pointer-valued FOO are redundant, except for arrays.
They are also a nuisance to work with.  Recent commit "qapi: Start to
elide redundant has_FOO in generated C" provided the means to elide
them step by step.  This is the step for qapi/audio.json.

Said commit explains the transformation in more detail.  The invariant
violations mentioned there do not occur here.

Additionally, helper get_str() loses its @has_dst parameter.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221104160712.3005652-8-armbru@redhat.com>
2022-12-13 18:31:37 +01:00
..
alsaaudio.c qapi audio: Elide redundant has_FOO in generated C 2022-12-13 18:31:37 +01:00
audio.c qapi audio: Elide redundant has_FOO in generated C 2022-12-13 18:31:37 +01:00
audio.h
audio_int.h audio: swap audio_rate_get_bytes() function parameters 2022-10-11 10:17:08 +02:00
audio_legacy.c qapi audio: Elide redundant has_FOO in generated C 2022-12-13 18:31:37 +01:00
audio_template.h audio: fix sw->buf size for audio recording 2022-10-11 10:17:08 +02:00
audio_win_int.c
audio_win_int.h
coreaudio.m
dbusaudio.c audio: swap audio_rate_get_bytes() function parameters 2022-10-11 10:17:08 +02:00
dsound_template.h
dsoundaudio.c
jackaudio.c
meson.build
mixeng.c
mixeng.h
mixeng_template.h
noaudio.c audio: swap audio_rate_get_bytes() function parameters 2022-10-11 10:17:08 +02:00
ossaudio.c qapi audio: Elide redundant has_FOO in generated C 2022-12-13 18:31:37 +01:00
paaudio.c qapi audio: Elide redundant has_FOO in generated C 2022-12-13 18:31:37 +01:00
rate_template.h audio: prevent an integer overflow in resampling code 2022-10-11 10:17:08 +02:00
sdlaudio.c
sndioaudio.c qapi audio: Elide redundant has_FOO in generated C 2022-12-13 18:31:37 +01:00
spiceaudio.c audio: swap audio_rate_get_bytes() function parameters 2022-10-11 10:17:08 +02:00
trace-events
trace.h
wavaudio.c qapi audio: Elide redundant has_FOO in generated C 2022-12-13 18:31:37 +01:00
wavcapture.c