]> git.proxmox.com Git - qemu.git/commitdiff
audio: fix compilation of DEBUG_PLIVE
authorJuan Quintela <quintela@redhat.com>
Wed, 2 Dec 2009 10:49:33 +0000 (11:49 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:25 +0000 (09:41 -0600)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
audio/audio_template.h

index 1a4707b2ea64d3a317a026efe49bf4f1a1f0130e..6b19848af4afce1604c69213a6c6901aca280a78 100644 (file)
@@ -445,9 +445,9 @@ SW *glue (AUD_open_, TYPE) (
                SW_NAME (sw), sw->info.freq, sw->info.bits, sw->info.nchannels);
         dolog ("New %s freq %d, bits %d, channels %d\n",
                name,
-               freq,
-               (fmt == AUD_FMT_S16 || fmt == AUD_FMT_U16) ? 16 : 8,
-               nchannels);
+               as->freq,
+               (as->fmt == AUD_FMT_S16 || as->fmt == AUD_FMT_U16) ? 16 : 8,
+               as->nchannels);
 #endif
 
         if (live) {