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/async_midi_port.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/async_midi_port.cc') diff --git a/libs/ardour/async_midi_port.cc b/libs/ardour/async_midi_port.cc index f7147676b0..c7117429fb 100644 --- a/libs/ardour/async_midi_port.cc +++ b/libs/ardour/async_midi_port.cc @@ -59,7 +59,7 @@ AsyncMIDIPort::~AsyncMIDIPort () } void -AsyncMIDIPort::set_timer (boost::function& f) +AsyncMIDIPort::set_timer (boost::function& f) { timer = f; have_timer = true; @@ -131,7 +131,7 @@ AsyncMIDIPort::cycle_start (MIDI::pframes_t nframes) if (ARDOUR::Port::receives_input()) { MidiBuffer& mb (get_midi_buffer (nframes)); - framecnt_t when; + samplecnt_t when; if (have_timer) { when = timer (); @@ -326,7 +326,7 @@ AsyncMIDIPort::read (MIDI::byte *, size_t) } void -AsyncMIDIPort::parse (MIDI::framecnt_t) +AsyncMIDIPort::parse (MIDI::samplecnt_t) { MIDI::byte buf[1]; -- cgit v1.2.3