]> Git Repo - qemu.git/blobdiff - audio/audio.c
vnc: tight: stop using qdict for palette stuff
[qemu.git] / audio / audio.c
index 2a20e5be1b069a2ce31d6b213c54eebea308058e..ad51077f3226a687ca78824282bdb6379858054f 100644 (file)
@@ -330,10 +330,10 @@ void AUD_vlog (const char *cap, const char *fmt, va_list ap)
 {
     if (conf.log_to_monitor) {
         if (cap) {
-            monitor_printf(cur_mon, "%s: ", cap);
+            monitor_printf(default_mon, "%s: ", cap);
         }
 
-        monitor_vprintf(cur_mon, fmt, ap);
+        monitor_vprintf(default_mon, fmt, ap);
     }
     else {
         if (cap) {
@@ -1901,7 +1901,7 @@ static void audio_init (void)
     }
 
     QLIST_INIT (&s->card_head);
-    vmstate_register (0, &vmstate_audio, s);
+    vmstate_register (NULL, 0, &vmstate_audio, s);
 }
 
 void AUD_register_card (const char *name, QEMUSoundCard *card)
This page took 0.020353 seconds and 4 git commands to generate.