diff options
author | 2008-06-20 14:35:07 +0000 | |
---|---|---|
committer | 2008-06-20 14:35:07 +0000 | |
commit | b9415c289f6f39a1d6db976a321bfe7668c3441f (patch) | |
tree | c7d5ba15c0979f8c7e5bf8abaa2221a20b2cd71f /src/emu/sound/multipcm.c | |
parent | f54f4c9959ec65e1880cb026c5c369a7e8593bf6 (diff) |
Fixes for MSVC compile.
Diffstat (limited to 'src/emu/sound/multipcm.c')
-rw-r--r-- | src/emu/sound/multipcm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/sound/multipcm.c b/src/emu/sound/multipcm.c index e69fdcd0a9d..36ef597eee7 100644 --- a/src/emu/sound/multipcm.c +++ b/src/emu/sound/multipcm.c @@ -230,9 +230,9 @@ static void EG_Calc(struct _MultiPCM *ptChip,struct _SLOT *slot) static int PLFO_TRI[256]; static int ALFO_TRI[256]; -static const float LFOFreq[8]={0.168,2.019,3.196,4.206,5.215,5.888,6.224,7.066}; //Hz; -static const float PSCALE[8]={0.0,3.378,5.065,6.750,10.114,20.170,40.180,79.307}; //cents -static const float ASCALE[8]={0.0,0.4,0.8,1.5,3.0,6.0,12.0,24.0}; //DB +static const float LFOFreq[8]={0.168f,2.019f,3.196f,4.206f,5.215f,5.888f,6.224f,7.066f}; //Hz; +static const float PSCALE[8]={0.0f,3.378f,5.065f,6.750f,10.114f,20.170f,40.180f,79.307f}; //cents +static const float ASCALE[8]={0.0f,0.4f,0.8f,1.5f,3.0f,6.0f,12.0f,24.0f}; //DB static int PSCALES[8][256]; static int ASCALES[8][256]; @@ -276,7 +276,7 @@ static void LFO_Init(void) } } -static signed int inline PLFO_Step(struct _LFO *LFO) +INLINE signed int PLFO_Step(struct _LFO *LFO) { int p; LFO->phase+=LFO->phase_step; @@ -285,7 +285,7 @@ static signed int inline PLFO_Step(struct _LFO *LFO) return p<<(SHIFT-LFO_SHIFT); } -static signed int inline ALFO_Step(struct _LFO *LFO) +INLINE signed int ALFO_Step(struct _LFO *LFO) { int p; LFO->phase+=LFO->phase_step; |