From ddb290d5f615019c33c42b8d94e5a5254cabcf33 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 22 Oct 2016 13:13:17 +0200 Subject: 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 --- src/devices/sound/wave.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/devices/sound/wave.cpp') diff --git a/src/devices/sound/wave.cpp b/src/devices/sound/wave.cpp index 650389b332e..dd2b78a583b 100644 --- a/src/devices/sound/wave.cpp +++ b/src/devices/sound/wave.cpp @@ -30,7 +30,7 @@ void wave_device::static_set_cassette_tag(device_t &device, const char *cassette const device_type WAVE = &device_creator; -wave_device::wave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) +wave_device::wave_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, WAVE, "Wave", tag, owner, clock, "wave", __FILE__), device_sound_interface(mconfig, *this), m_cass(nullptr) { @@ -96,9 +96,9 @@ void wave_device::sound_stream_update(sound_stream &stream, stream_sample_t **in for (i = samples - 1; i >= 0; i--) { - left_buffer[i] = ((INT16 *) left_buffer)[i]; + left_buffer[i] = ((int16_t *) left_buffer)[i]; if (speakers > 1) - right_buffer[i] = ((INT16 *) right_buffer)[i]; + right_buffer[i] = ((int16_t *) right_buffer)[i]; } } else -- cgit v1.2.3-70-g09d2