]> Git Repo - qemu.git/blobdiff - vl.c
paaudio: port to -audiodev config
[qemu.git] / vl.c
diff --git a/vl.c b/vl.c
index 4a350de5cd19a9ae0018774dd9af58f6c604c875..db04aea7f8c97f255f1a0852a39053fca5d10360 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -3253,9 +3253,12 @@ int main(int argc, char **argv, char **envp)
                 add_device_config(DEV_BT, optarg);
                 break;
             case QEMU_OPTION_audio_help:
-                AUD_help ();
+                audio_legacy_help();
                 exit (0);
                 break;
+            case QEMU_OPTION_audiodev:
+                audio_parse_option(optarg);
+                break;
             case QEMU_OPTION_soundhw:
                 select_soundhw (optarg);
                 break;
@@ -4447,6 +4450,8 @@ int main(int argc, char **argv, char **envp)
     /* do monitor/qmp handling at preconfig state if requested */
     main_loop();
 
+    audio_init_audiodevs();
+
     /* from here on runstate is RUN_STATE_PRELAUNCH */
     machine_run_board_init(current_machine);
 
This page took 0.024178 seconds and 4 git commands to generate.