From patchwork Thu Oct 22 14:36:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [01/20] audio: fix compilation of DEBUG_PLIVE Date: Thu, 22 Oct 2009 04:36:14 -0000 From: Juan Quintela X-Patchwork-Id: 36673 Message-Id: <6476ddf0facc0d0571b2fcbbcf25270648093fe8.1256221008.git.quintela@redhat.com> To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- audio/audio_template.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/audio_template.h b/audio/audio_template.h index 14c648c..19cdb7f 100644 --- a/audio/audio_template.h +++ b/audio/audio_template.h @@ -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) {