diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2008-11-22 15:40:19 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2008-11-22 15:40:19 +0000 |
commit | 2f07b77503f01e75970241e3aa4c9b6fc723a83f (patch) | |
tree | 6689c54d7d37509e92cb52ef514f466280096b79 /libs/ardour/ardour/midi_ring_buffer.h | |
parent | 5de817c2509b3f8ab35e1aea7292e84ca51037ab (diff) |
* 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
Diffstat (limited to 'libs/ardour/ardour/midi_ring_buffer.h')
-rw-r--r-- | libs/ardour/ardour/midi_ring_buffer.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |