abort if configuration fails
[ardour.git] / libs / ardour / midi_ring_buffer.cc
index 3923e5306a0da17fef85d6364ddf26f14a66001d..9258b2f7dc7861a66ceba62f920bfb55cbe46fd6 100644 (file)
@@ -83,7 +83,7 @@ MidiRingBuffer<T>::read(MidiBuffer& dst, framepos_t start, framepos_t end, frame
                this->increment_read_ptr (prefix_size);
 
                uint8_t status;
-               bool r = this->peek (&status, sizeof(uint8_t)); 
+               bool r = this->peek (&status, sizeof(uint8_t));
                assert (r); // If this failed, buffer is corrupt, all hope is lost
 
                /* lets see if we are going to be able to write this event into dst.
@@ -212,7 +212,7 @@ MidiRingBuffer<T>::flush (framepos_t /*start*/, framepos_t end)
                assert (success);
 
                ev_time = *(reinterpret_cast<T*>((uintptr_t)peekbuf));
-               
+
                if (ev_time >= end) {
                        break;
                }