summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2017-11-05 15:58:19 +0100
committer hap <happppp@users.noreply.github.com>2017-11-05 15:58:45 +0100
commit7f5b00c5fa8a5ddc7ead3d51fe9c17c94c0f16a7 (patch)
tree648d143b7e88d77912842ac5148e27aaacf2caf5
parent044924807c19e999deed4f4f956d09c58702c6d5 (diff)
wiping: remove unused variable (nw)
-rw-r--r--src/mame/audio/wiping.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/audio/wiping.cpp b/src/mame/audio/wiping.cpp
index 7618ce74ce9..458348cfe34 100644
--- a/src/mame/audio/wiping.cpp
+++ b/src/mame/audio/wiping.cpp
@@ -27,8 +27,7 @@ wiping_sound_device::wiping_sound_device(const machine_config &mconfig, const ch
m_stream(nullptr),
m_mixer_table(nullptr),
m_mixer_lookup(nullptr),
- m_mixer_buffer(nullptr),
- m_mixer_buffer_2(nullptr)
+ m_mixer_buffer(nullptr)
{
memset(m_channel_list, 0, sizeof(wp_sound_channel)*MAX_VOICES);
memset(m_soundregs, 0, sizeof(uint8_t)*0x4000);
@@ -46,9 +45,8 @@ void wiping_sound_device::device_start()
/* get stream channels */
m_stream = machine().sound().stream_alloc(*this, 0, 1, samplerate);
- /* allocate a pair of buffers to mix into - 1 second's worth should be more than enough */
+ /* allocate a buffer to mix into - 1 second's worth should be more than enough */
m_mixer_buffer = make_unique_clear<short[]>(samplerate);
- m_mixer_buffer_2 = make_unique_clear<short[]>(samplerate);
/* build the mixer table */
make_mixer_table(8, defgain);