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/ardour/async_midi_port.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/ardour/async_midi_port.h') diff --git a/libs/ardour/ardour/async_midi_port.h b/libs/ardour/ardour/async_midi_port.h index 35f3f53e4f..3639304f77 100644 --- a/libs/ardour/ardour/async_midi_port.h +++ b/libs/ardour/ardour/async_midi_port.h @@ -55,7 +55,7 @@ class LIBARDOUR_API AsyncMIDIPort : public ARDOUR::MidiPort, public MIDI::Port { void cycle_end (pframes_t nframes); /* called from non-RT context */ - void parse (framecnt_t timestamp); + void parse (samplecnt_t timestamp); int write (const MIDI::byte *msg, size_t msglen, MIDI::timestamp_t timestamp); int read (MIDI::byte *buf, size_t bufsize); /* waits for output to be cleared */ @@ -72,7 +72,7 @@ class LIBARDOUR_API AsyncMIDIPort : public ARDOUR::MidiPort, public MIDI::Port { /* Not selectable; use ios() */ int selectable() const { return -1; } - void set_timer (boost::function&); + void set_timer (boost::function&); static void set_process_thread (pthread_t); static pthread_t get_process_thread () { return _process_thread; } @@ -83,7 +83,7 @@ class LIBARDOUR_API AsyncMIDIPort : public ARDOUR::MidiPort, public MIDI::Port { MIDI::timestamp_t _last_write_timestamp; bool _flush_at_cycle_start; bool have_timer; - boost::function timer; + boost::function timer; PBD::RingBuffer< Evoral::Event > output_fifo; EventRingBuffer input_fifo; Glib::Threads::Mutex output_fifo_lock; -- cgit v1.2.3