diff options
Diffstat (limited to 'audio/audio.h')
-rw-r--r-- | audio/audio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/audio.h b/audio/audio.h index ad2457f4de..3257165b05 100644 --- a/audio/audio.h +++ b/audio/audio.h @@ -27,6 +27,7 @@ #include "qemu/queue.h" #include "qapi/qapi-types-audio.h" +#include "hw/qdev-properties.h" typedef void (*audio_callback_fn) (void *opaque, int avail); @@ -181,4 +182,7 @@ void audio_legacy_help(void); AudioState *audio_state_by_name(const char *name); const char *audio_get_id(QEMUSoundCard *card); +#define DEFINE_AUDIO_PROPERTIES(_s, _f) \ + DEFINE_PROP_AUDIODEV("audiodev", _s, _f) + #endif /* QEMU_AUDIO_H */ |