From 30b087ab3d28f1585987fa3f6ae006562ae192e3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 18 Sep 2017 12:39:17 -0400 Subject: globally change all use of "frame" to refer to audio into "sample". Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible --- libs/ardour/mididm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/mididm.cc') diff --git a/libs/ardour/mididm.cc b/libs/ardour/mididm.cc index 0b95fc1bd5..14684792fd 100644 --- a/libs/ardour/mididm.cc +++ b/libs/ardour/mididm.cc @@ -21,7 +21,7 @@ using namespace ARDOUR; -MIDIDM::MIDIDM (framecnt_t sample_rate) +MIDIDM::MIDIDM (samplecnt_t sample_rate) : _sample_rate (sample_rate) , _monotonic_cnt (sample_rate) , _last_signal_tme (0) @@ -78,7 +78,7 @@ int MIDIDM::process (pframes_t nframes, PortEngine &pe, void *midi_in, void *mid obuf[1] = (_monotonic_cnt) & 0x7f; obuf[2] = (_monotonic_cnt >> 7) & 0x7f; pe.midi_event_put (midi_out, 0, obuf, 3); -#else // sysex MTC frame +#else // sysex MTC sample uint8_t obuf[10]; obuf[0] = 0xf0; obuf[1] = 0x7f; -- cgit v1.2.3