From 2f07b77503f01e75970241e3aa4c9b6fc723a83f Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Sat, 22 Nov 2008 15:40:19 +0000 Subject: * added XML deserialisation for control and program changes * added pointer checks * fixed typos in comments git-svn-id: svn://localhost/ardour2/branches/3.0@4234 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/midi_ring_buffer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/ardour/ardour/midi_ring_buffer.h') diff --git a/libs/ardour/ardour/midi_ring_buffer.h b/libs/ardour/ardour/midi_ring_buffer.h index 8bd4260283..ba271df615 100644 --- a/libs/ardour/ardour/midi_ring_buffer.h +++ b/libs/ardour/ardour/midi_ring_buffer.h @@ -85,7 +85,7 @@ private: /** Read the time and size of an event. This call MUST be immediately proceeded - * by a call to read_contents (or the read pointer will be garabage). + * by a call to read_contents (or the read pointer will be garbage). */ inline bool MidiRingBuffer::read_prefix(Evoral::EventTime* time, Evoral::EventType* type, uint32_t* size) @@ -100,8 +100,8 @@ MidiRingBuffer::read_prefix(Evoral::EventTime* time, Evoral::EventType* type, ui } -/** Read the contenst of an event. This call MUST be immediately preceeded - * by a call to read_prefix (or the returned even will be garabage). +/** Read the content of an event. This call MUST be immediately preceded + * by a call to read_prefix (or the returned even will be garbage). */ inline bool MidiRingBuffer::read_contents(uint32_t size, uint8_t* buf) @@ -112,7 +112,7 @@ MidiRingBuffer::read_contents(uint32_t size, uint8_t* buf) /** Read a block of MIDI events from buffer. * - * Timestamps of events returned are relative to start (ie event with stamp 0 + * Timestamps of events returned are relative to start (i.e. event with stamp 0 * occurred at start), with offset added. */ inline size_t -- cgit v1.2.3