diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
commit | 30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch) | |
tree | 620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /libs/midi++2/midi++/port.h | |
parent | cb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff) |
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
Diffstat (limited to 'libs/midi++2/midi++/port.h')
-rw-r--r-- | libs/midi++2/midi++/port.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |