Patchwork [01/10] audio: fix compilation of DEBUG_PLIVE

login
register
mail settings
Submitter Juan Quintela
Date Dec. 2, 2009, 10:49 a.m.
Message ID <3ce993438d9e6c6dcdb5e58357142f8125dbbd0a.1259750689.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/39983/
State New
Headers show

Comments

Juan Quintela - Dec. 2, 2009, 10:49 a.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 audio/audio_template.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

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) {