On 28/10/25 13:34, Marc-André Lureau wrote:
Hi
On Mon, Oct 27, 2025 at 8:29 PM BALATON Zoltan <[email protected]> wrote:
On Mon, 27 Oct 2025, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
QOM brings some conveniences for introspection, type checking, reference
counting, interfaces etc. This is only the first step to introduce QOM
in audio/ (I have more in the pipeline)
Signed-off-by: Marc-André Lureau <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
---
audio/audio.h | 7 +++++++
audio/audio_int.h | 2 ++
audio/audio.c | 43 ++++++++++++++++++++++++++++++++-----------
3 files changed, 41 insertions(+), 11 deletions(-)
diff --git a/audio/audio_int.h b/audio/audio_int.h
index f78ca05f92..b2b4d2d10e 100644
--- a/audio/audio_int.h
+++ b/audio/audio_int.h
@@ -217,6 +217,8 @@ struct SWVoiceCap {
};
typedef struct AudioState {
+ Object parent;
Coding style says parent_obj, not sure other names are acceptable.
Alex, since you wrote that section in docs/devel/style.rst, should we
enforce that naming?
Yes please!