summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/wave.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/sound/wave.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (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/wave.cpp')
-rw-r--r--src/devices/sound/wave.cpp6
1 files changed, 3 insertions, 3 deletions
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::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