hw/audio: use better naming for -audio model handling code

All the functions are about "-audio model=" handling, a simpler
way to setup audio. Rename functions/variables to reflect this better.

audio_register_model_with_cb() dropped "pci" from the name, since it
will be generalized next.

deprecated_register_soundhw() was actually not a function to be
removed since it's used for "-audio model=" aliasing.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
Marc-André Lureau
2025-10-08 16:05:00 +04:00
parent 07af152c76
commit 635af57068
15 changed files with 65 additions and 67 deletions
@@ -264,7 +264,7 @@ def test_initial_includes():
#define SILENT_ES1370
#include "qemu/osdep.h"
#include "hw/audio/soundhw.h"
#include "hw/audio/model.h"
#include "audio/audio.h"
#include "hw/pci/pci.h"
#include "migration/vmstate.h"