]> git.proxmox.com Git - mirror_qemu.git/blobdiff - audio/dsoundaudio.c
i386: display known CPUID features linewrapped, in alphabetical order
[mirror_qemu.git] / audio / dsoundaudio.c
index bc39cb9b4dd71443e082fa787e7796edcb15a213..3ed73a30d1e3f9097256a93eb5cbd797c74ac154 100644 (file)
@@ -890,7 +890,7 @@ static struct audio_pcm_ops dsound_pcm_ops = {
     .ctl_in   = dsound_ctl_in
 };
 
-struct audio_driver dsound_audio_driver = {
+static struct audio_driver dsound_audio_driver = {
     .name           = "dsound",
     .descr          = "DirectSound http://wikipedia.org/wiki/DirectSound",
     .options        = dsound_options,
@@ -903,3 +903,9 @@ struct audio_driver dsound_audio_driver = {
     .voice_size_out = sizeof (DSoundVoiceOut),
     .voice_size_in  = sizeof (DSoundVoiceIn)
 };
+
+static void register_audio_dsound(void)
+{
+    audio_driver_register(&dsound_audio_driver);
+}
+type_init(register_audio_dsound);