Files
qemu-qemu-1/hw
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
..
2026-02-23 00:17:34 +01:00
2025-12-27 10:11:08 +01:00
2026-02-04 08:24:29 +01:00
2025-12-27 10:11:08 +01:00
2025-12-27 10:11:08 +01:00
2026-02-20 13:04:45 -05:00
2026-02-20 13:04:45 -05:00
2025-12-27 10:11:08 +01:00
2025-12-27 10:11:08 +01:00
2026-01-12 12:11:02 +05:30
2025-12-27 10:11:08 +01:00
2026-02-03 08:32:33 +01:00
2026-02-09 20:51:52 +01:00
2026-02-09 20:51:52 +01:00