aboutsummaryrefslogtreecommitdiff
path: root/audio/audio.h
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2022-09-08 10:14:41 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-09-19 15:15:59 +0200
commit5e03b6daf66dfb0f5512a0dfc9e21e749b6f67b7 (patch)
treedec53f75a01efdb02bf44dfb4e44c9880837a6a1 /audio/audio.h
parente121d7606bc9041619d8c6e0524a1ccdbbdd6547 (diff)
audio: add help option for -audio and -audiodev
add a simple help option for -audio and -audiodev to show the list of available drivers, and document them. Signed-off-by: Claudio Fontana <cfontana@suse.de> Message-Id: <20220908081441.7111-1-cfontana@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'audio/audio.h')
-rw-r--r--audio/audio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audio.h b/audio/audio.h
index 27e67079a0..01bdc567fb 100644
--- a/audio/audio.h
+++ b/audio/audio.h
@@ -171,6 +171,7 @@ void audio_sample_from_uint64(void *samples, int pos,
void audio_define(Audiodev *audio);
void audio_parse_option(const char *opt);
bool audio_init_audiodevs(void);
+void audio_help(void);
void audio_legacy_help(void);
AudioState *audio_state_by_name(const char *name);