diff options
author | Vas Crabb <vas@vastheman.com> | 2020-09-27 11:00:56 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2020-09-27 11:00:56 +1000 |
commit | 6e807013c570ed6b5ff7f950a3b131914b9718f3 (patch) | |
tree | 86eb67544d14d9ee32a18467d7ba859f19f36a51 /src/devices/sound | |
parent | 7dad0f4f58e2e0e59b72f3df672ecfe2c8168545 (diff) |
Disable SOUND_DEBUG for non-debug builds, and srcclean
Diffstat (limited to 'src/devices/sound')
-rw-r--r-- | src/devices/sound/gaelco.cpp | 4 | ||||
-rw-r--r-- | src/devices/sound/hc55516.cpp | 8 | ||||
-rw-r--r-- | src/devices/sound/votrax.cpp | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/sound/gaelco.cpp b/src/devices/sound/gaelco.cpp index 52e71a606c6..2a213408095 100644 --- a/src/devices/sound/gaelco.cpp +++ b/src/devices/sound/gaelco.cpp @@ -181,8 +181,8 @@ void gaelco_gae1_device::sound_stream_update(sound_stream &stream, std::vector<r outputs[1].put_int(j, output_r, 32768); } -// if (wavraw) -// wav_add_data_buffer(wavraw, outputs[0], outputs[1]); +// if (wavraw) +// wav_add_data_buffer(wavraw, outputs[0], outputs[1]); } /*============================================================================ diff --git a/src/devices/sound/hc55516.cpp b/src/devices/sound/hc55516.cpp index 4ee6667ede4..5414f378802 100644 --- a/src/devices/sound/hc55516.cpp +++ b/src/devices/sound/hc55516.cpp @@ -188,10 +188,10 @@ void hc55516_device::process_digit() m_next_sample = temp; /* compress the sample range to fit better in a 16-bit word */ -/* if (temp < 0) - m_next_sample = (int)(temp / (-temp * (1.0 / 32768.0) + 1.0)); - else - m_next_sample = (int)(temp / (temp * (1.0 / 32768.0) + 1.0));*/ +/* if (temp < 0) + m_next_sample = (int)(temp / (-temp * (1.0 / 32768.0) + 1.0)); + else + m_next_sample = (int)(temp / (temp * (1.0 / 32768.0) + 1.0));*/ } void hc55516_device::clock_w(int state) diff --git a/src/devices/sound/votrax.cpp b/src/devices/sound/votrax.cpp index 000a568d2a3..f3a6e4d9234 100644 --- a/src/devices/sound/votrax.cpp +++ b/src/devices/sound/votrax.cpp @@ -489,7 +489,7 @@ void votrax_sc01_device::chip_update() m_noise = ((m_noise << 1) & 0x7ffe) | inp; m_cur_noise = !(((m_noise >> 14) ^ (m_noise >> 13)) & 1); - // logerror("%s tick %02x.%03x 625=%d 208=%d pitch=%02x.%x ns=%04x ni=%d noise=%d cl=%x.%x clf=%d/%d\n", machine().time().to_string(), m_ticks, m_phonetick, tick_625, tick_208, m_pitch >> 3, m_pitch & 7, m_noise, inp, m_cur_noise, m_closure >> 2, m_closure & 3, m_rom_closure, m_cur_closure); + // logerror("%s tick %02x.%03x 625=%d 208=%d pitch=%02x.%x ns=%04x ni=%d noise=%d cl=%x.%x clf=%d/%d\n", machine().time().to_string(), m_ticks, m_phonetick, tick_625, tick_208, m_pitch >> 3, m_pitch & 7, m_noise, inp, m_cur_noise, m_closure >> 2, m_closure & 3, m_rom_closure, m_cur_closure); } void votrax_sc01_device::filters_commit(bool force) |