summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/dmadac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/dmadac.c')
-rw-r--r--src/emu/sound/dmadac.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/emu/sound/dmadac.c b/src/emu/sound/dmadac.c
index 0fcf8a9ef50..b3288cd876e 100644
--- a/src/emu/sound/dmadac.c
+++ b/src/emu/sound/dmadac.c
@@ -19,12 +19,7 @@
#define VERBOSE 0
-#if VERBOSE
-#define LOG(x) logerror x
-#else
-#define LOG(x)
-#endif
-
+#define LOG(x) do { if (VERBOSE) logerror x; } while (0)
/*************************************
@@ -167,7 +162,7 @@ void dmadac_transfer(UINT8 first_channel, UINT8 num_channels, offs_t channel_spa
}
}
- LOG(("dmadac_transfer - %d samples, %d effective, %d in buffer\n", total_frames, (int)(total_frames * (double)DEFAULT_SAMPLE_RATE / dmadac[first_channel].frequency), dmadac[first_channel].curinpos - dmadac[first_channel].curoutpos));
+ //LOG(("dmadac_transfer - %d samples, %d effective, %d in buffer\n", total_frames, (int)(total_frames * (double)DEFAULT_SAMPLE_RATE / dmadac[first_channel].frequency), dmadac[first_channel].curinpos - dmadac[first_channel].curoutpos));
}