From 0c56ac848dd0eba359500d444ecbb51f215ff5b9 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 4 Dec 2015 07:02:45 +0100 Subject: clang-modernize part 3 --- src/devices/sound/votrax.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/devices/sound/votrax.cpp') diff --git a/src/devices/sound/votrax.cpp b/src/devices/sound/votrax.cpp index c4538f14270..d77b3669aa0 100644 --- a/src/devices/sound/votrax.cpp +++ b/src/devices/sound/votrax.cpp @@ -97,8 +97,8 @@ const double votrax_sc01_device::s_glottal_wave[16] = votrax_sc01_device::votrax_sc01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VOTRAX_SC01, "Votrax SC-01", tag, owner, clock, "votrax", __FILE__), device_sound_interface(mconfig, *this), - m_stream(NULL), - m_phoneme_timer(NULL), m_rom(NULL), m_inflection(0), m_phoneme(0), + m_stream(nullptr), + m_phoneme_timer(nullptr), m_rom(nullptr), m_inflection(0), m_phoneme(0), m_request_cb(*this), m_request_state(0), m_internal_request(0), m_master_clock_freq(0), m_master_clock(0), m_counter_34(0), m_latch_70(0), m_latch_72(0), m_beta1(0), m_p2(0), m_p1(0), m_phi2(0), m_phi1(0), m_phi2_20(0), m_phi1_20(0), m_subphoneme_period(0), m_subphoneme_count(0), m_clock_88(0), m_latch_42(0), m_counter_84(0), m_latch_92(0), m_srff_132(false), m_srff_114(false), m_srff_112(false), @@ -1322,7 +1322,7 @@ void votrax_sc01_device::device_clock_changed() if (newfreq != m_master_clock_freq) { // if we have a stream - if (m_stream != NULL) + if (m_stream != nullptr) { m_stream->update(); m_stream->set_sample_rate(newfreq / 16); -- cgit v1.2.3-70-g09d2