From: Christian Limpach Date: Tue, 23 Jun 2009 23:53:53 +0000 (+0100) Subject: Disable debug prints. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=33aa2539a887dc4fdfe00fa9bccf820d58a3993d;p=xenclient%2Fioemu-pq.git Disable debug prints. --- diff --git a/master/audio-volume-control b/master/audio-volume-control index 2a519e9..5df603e 100644 --- a/master/audio-volume-control +++ b/master/audio-volume-control @@ -138,20 +138,10 @@ index 4aaeb96..b09cce5 100644 + #endif /* audio.h */ diff --git a/hw/ac97.c b/hw/ac97.c -index ade2719..5ec3044 100644 +index ade2719..0d4b86e 100644 --- a/hw/ac97.c +++ b/hw/ac97.c -@@ -172,7 +172,8 @@ enum { - #ifdef DEBUG_AC97 - #define dolog(...) AUD_log ("ac97", __VA_ARGS__) - #else --#define dolog(...) -+extern int term_printf(const char *, ...); -+#define dolog(...) term_printf(__VA_ARGS__) - #endif - - typedef struct PCIAC97LinkState { -@@ -527,6 +528,22 @@ static void record_select (AC97LinkState *s, uint32_t val) +@@ -527,6 +527,22 @@ static void record_select (AC97LinkState *s, uint32_t val) ls = aud_to_ac97_record_source (als); mixer_store (s, AC97_Record_Select, rs | (ls << 8)); } @@ -174,7 +164,7 @@ index ade2719..5ec3044 100644 #endif static void mixer_reset (AC97LinkState *s) -@@ -568,6 +585,8 @@ static void mixer_reset (AC97LinkState *s) +@@ -568,6 +584,8 @@ static void mixer_reset (AC97LinkState *s) set_volume (s, AC97_Master_Volume_Mute, AUD_MIXER_VOLUME , 0x8000); set_volume (s, AC97_PCM_Out_Volume_Mute, AUD_MIXER_PCM , 0x8808); set_volume (s, AC97_Line_In_Volume_Mute, AUD_MIXER_LINE_IN, 0x8808); @@ -183,7 +173,7 @@ index ade2719..5ec3044 100644 #endif reset_voices (s, active); } -@@ -632,10 +651,10 @@ static void nam_writew (void *opaque, uint32_t addr, uint32_t val) +@@ -632,10 +650,10 @@ static void nam_writew (void *opaque, uint32_t addr, uint32_t val) val |= mixer_load (s, index) & 0xf; mixer_store (s, index, val); break;