Files
qemu/hw/usb
Marc-André Lureau eebba32fe5 audio: replace int endianness with bool big_endian in audsettings
The endianness field used an int to represent a boolean concept, with
0 meaning little-endian and 1 meaning big-endian. This required runtime
validation to reject invalid values and made the code less readable.

Replace with a bool big_endian field that is self-documenting and
type-safe. The compiler now enforces valid values, eliminating the
need for the validation check in audio_validate_settings().

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2026-02-23 14:38:22 +01:00
..
2025-12-27 10:11:06 +01:00
2025-12-27 10:11:06 +01:00
2025-12-27 10:11:06 +01:00
2025-12-27 10:11:06 +01:00
2022-01-13 10:22:37 +01:00
2025-12-27 10:11:06 +01:00
2025-12-27 10:11:06 +01:00
2025-12-27 10:11:06 +01:00
2025-12-27 10:11:06 +01:00
2025-12-27 10:11:06 +01:00
2026-01-20 19:51:36 +01:00
2025-12-27 10:11:06 +01:00
2023-08-31 19:47:43 +02:00
2025-12-27 10:11:06 +01:00
2025-12-27 10:11:06 +01:00