comparison base/Event.h @ 1637:e8099be64726 single-point

Make const
author Chris Cannam
date Wed, 13 Mar 2019 10:54:42 +0000
parents 687a2453cc15
children 751a52865270
comparison
equal deleted inserted replaced
1636:05e3ea2237f5 1637:e8099be64726
263 out.flush(); 263 out.flush();
264 return s; 264 return s;
265 } 265 }
266 266
267 NoteData toNoteData(sv_samplerate_t sampleRate, 267 NoteData toNoteData(sv_samplerate_t sampleRate,
268 bool valueIsMidiPitch) { 268 bool valueIsMidiPitch) const {
269 269
270 sv_frame_t duration; 270 sv_frame_t duration;
271 if (m_haveDuration && m_duration > 0) { 271 if (m_haveDuration && m_duration > 0) {
272 duration = m_duration; 272 duration = m_duration;
273 } else { 273 } else {