diff options
author | 2012-09-16 05:24:30 +0000 | |
---|---|---|
committer | 2012-09-16 05:24:30 +0000 | |
commit | 1a301849034da9956b893453acce8e0f9168e150 (patch) | |
tree | a39f7a6c6b4c54b7993e58cd22ea6b6bd25f37cf /src/emu/sound/aicalfo.c | |
parent | 91f928d6cd774c9526c7fde7e0860aded24d08a5 (diff) |
Final round of struct/union/enum normalization.
Diffstat (limited to 'src/emu/sound/aicalfo.c')
-rw-r--r-- | src/emu/sound/aicalfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/sound/aicalfo.c b/src/emu/sound/aicalfo.c index f992ea29a2d..b61f25eb346 100644 --- a/src/emu/sound/aicalfo.c +++ b/src/emu/sound/aicalfo.c @@ -9,7 +9,7 @@ #define LFO_SHIFT 8 -struct _LFO +struct LFO_t { unsigned short phase; UINT32 phase_step; @@ -103,7 +103,7 @@ static void AICALFO_Init(running_machine &machine) } } -INLINE signed int AICAPLFO_Step(struct _LFO *LFO) +INLINE signed int AICAPLFO_Step(LFO_t *LFO) { int p; @@ -116,7 +116,7 @@ INLINE signed int AICAPLFO_Step(struct _LFO *LFO) return p<<(SHIFT-LFO_SHIFT); } -INLINE signed int AICAALFO_Step(struct _LFO *LFO) +INLINE signed int AICAALFO_Step(LFO_t *LFO) { int p; LFO->phase+=LFO->phase_step; @@ -128,7 +128,7 @@ INLINE signed int AICAALFO_Step(struct _LFO *LFO) return p<<(SHIFT-LFO_SHIFT); } -static void AICALFO_ComputeStep(struct _LFO *LFO,UINT32 LFOF,UINT32 LFOWS,UINT32 LFOS,int ALFO) +static void AICALFO_ComputeStep(LFO_t *LFO,UINT32 LFOF,UINT32 LFOWS,UINT32 LFOS,int ALFO) { float step=(float) LFOFreq[LFOF]*256.0/(float)44100.0; LFO->phase_step=(unsigned int) ((float) (1<<LFO_SHIFT)*step); |