diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/sound/sid.h | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/sound/sid.h')
-rw-r--r-- | src/devices/sound/sid.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/devices/sound/sid.h b/src/devices/sound/sid.h index 9fb8a6dc5bb..095f711bdc8 100644 --- a/src/devices/sound/sid.h +++ b/src/devices/sound/sid.h @@ -19,35 +19,35 @@ struct SID6581_t sound_stream *mixer_channel; // mame stream/ mixer channel int type; - UINT32 clock; + uint32_t clock; - UINT16 PCMfreq; // samplerate of the current systems soundcard/DAC - UINT32 PCMsid, PCMsidNoise; + uint16_t PCMfreq; // samplerate of the current systems soundcard/DAC + uint32_t PCMsid, PCMsidNoise; #if 0 /* following depends on type */ ptr2sidVoidFunc ModeNormalTable[16]; ptr2sidVoidFunc ModeRingTable[16]; // for speed reason it could be better to make them global! - UINT8* waveform30; - UINT8* waveform50; - UINT8* waveform60; - UINT8* waveform70; + uint8_t* waveform30; + uint8_t* waveform50; + uint8_t* waveform60; + uint8_t* waveform70; #endif int reg[0x20]; // bool sidKeysOn[0x20], sidKeysOff[0x20]; - UINT8 masterVolume; - UINT16 masterVolumeAmplIndex; + uint8_t masterVolume; + uint16_t masterVolumeAmplIndex; struct { int Enabled; - UINT8 Type, CurType; + uint8_t Type, CurType; float Dy, ResDy; - UINT16 Value; + uint16_t Value; } filter; sidOperator optr1, optr2, optr3; @@ -61,6 +61,6 @@ int sidEmuReset(SID6581_t *This); int sid6581_port_r (running_machine &machine, SID6581_t *This, int offset); void sid6581_port_w (SID6581_t *This, int offset, int data); -void sidEmuFillBuffer(SID6581_t *This, stream_sample_t *buffer, UINT32 bufferLen ); +void sidEmuFillBuffer(SID6581_t *This, stream_sample_t *buffer, uint32_t bufferLen ); #endif /* __SID_H__ */ |