aboutsummaryrefslogtreecommitdiff
path: root/audio/audio_template.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-12-02 11:49:33 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:25 -0600
commita244eb7429ecc34797abb23c0852257e31675716 (patch)
treeebb98a21c2446d4dc6455d8e33876e68f14d5f62 /audio/audio_template.h
parent01f2785ed7f316a48ed719e215bfa15b08d2d8da (diff)
downloadqemu-a244eb7429ecc34797abb23c0852257e31675716.zip
qemu-a244eb7429ecc34797abb23c0852257e31675716.tar.gz
qemu-a244eb7429ecc34797abb23c0852257e31675716.tar.bz2
audio: fix compilation of DEBUG_PLIVE
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'audio/audio_template.h')
-rw-r--r--audio/audio_template.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/audio_template.h b/audio/audio_template.h
index 1a4707b..6b19848 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) {