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/midi++2/midi++/port.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/midi++2/midi++/port.h') diff --git a/libs/midi++2/midi++/port.h b/libs/midi++2/midi++/port.h index 02cc340194..049d3a0a92 100644 --- a/libs/midi++2/midi++/port.h +++ b/libs/midi++2/midi++/port.h @@ -57,7 +57,7 @@ class LIBMIDIPP_API Port { /** Write a message to port. * @param msg Raw MIDI message to send * @param msglen Size of @a msg - * @param timestamp Time stamp in frames of this message (relative to cycle start) + * @param timestamp Time stamp in samples of this message (relative to cycle start) * @return number of bytes successfully written */ virtual int write (const byte *msg, size_t msglen, timestamp_t timestamp) = 0; @@ -85,7 +85,7 @@ class LIBMIDIPP_API Port { return !(write (msg, len, timestamp) == (int) len); } - virtual void parse (framecnt_t timestamp) = 0; + virtual void parse (samplecnt_t timestamp) = 0; bool clock (timestamp_t timestamp); -- cgit v1.2.3