summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/multipcm.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-12-28 09:04:00 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-12-28 09:04:00 +0000
commitbd24fb23c10ca9fbf63e2191dc8e58a87b83b325 (patch)
tree5ba5c3cffeb38fb8f492e030130268c4bcbafb4d /src/emu/sound/multipcm.c
parent6763b10bf005f0bcd1ba23e440d652b31dcac447 (diff)
Results of running the latest srcclean.
Diffstat (limited to 'src/emu/sound/multipcm.c')
-rw-r--r--src/emu/sound/multipcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/sound/multipcm.c b/src/emu/sound/multipcm.c
index fefb043b952..4d554ca2bd7 100644
--- a/src/emu/sound/multipcm.c
+++ b/src/emu/sound/multipcm.c
@@ -37,7 +37,7 @@
#include "multipcm.h"
//????
-#define MULTIPCM_CLOCKDIV (180.0)
+#define MULTIPCM_CLOCKDIV (180.0)
struct _Sample
{
@@ -227,13 +227,13 @@ static void EG_Calc(MultiPCM *ptChip,struct _SLOT *slot)
LFO SECTION
*****************************/
-#define LFO_SHIFT 8
+#define LFO_SHIFT 8
#define LFIX(v) ((unsigned int) ((float) (1<<LFO_SHIFT)*(v)))
//Convert DB to multiply amplitude
-#define DB(v) LFIX(pow(10.0,v/20.0))
+#define DB(v) LFIX(pow(10.0,v/20.0))
//Convert cents to step increment
#define CENTS(v) LFIX(pow(2.0,v/1200.0))