summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/midi_port.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-04-08 05:16:33 +0200
committerRobin Gareus <robin@gareus.org>2019-04-08 05:16:33 +0200
commit84272b4e27e537bf2c38c9cd25675c61addea40a (patch)
tree8a623c46597027ee858c0d6db0eb6215762a0b3f /libs/ardour/ardour/midi_port.h
parentf4c5e21a7a9249911679ad71cf814cbc2ab59d92 (diff)
NO-OP: whitespace
Fix space-alignment, mostly due to "frame" -> "sample" changes.
Diffstat (limited to 'libs/ardour/ardour/midi_port.h')
-rw-r--r--libs/ardour/ardour/midi_port.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/libs/ardour/ardour/midi_port.h b/libs/ardour/ardour/midi_port.h
index 4b453b80bc..bf37a4834d 100644
--- a/libs/ardour/ardour/midi_port.h
+++ b/libs/ardour/ardour/midi_port.h
@@ -14,8 +14,6 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- $Id: port.h 712 2006-07-28 01:08:57Z drobilla $
*/
#ifndef __ardour_midi_port_h__
@@ -32,7 +30,7 @@ class MidiBuffer;
class MidiEngine;
class LIBARDOUR_API MidiPort : public Port {
- public:
+public:
~MidiPort();
DataType type () const {
@@ -67,20 +65,20 @@ class LIBARDOUR_API MidiPort : public Port {
void read_and_parse_entire_midi_buffer_with_no_speed_adjustment (pframes_t nframes, MIDI::Parser& parser, samplepos_t now);
- protected:
+protected:
friend class PortManager;
MidiPort (const std::string& name, PortFlags);
- private:
- MidiBuffer* _buffer;
- bool _resolve_required;
- bool _input_active;
- MidiFilter inbound_midi_filter;
+private:
+ MidiBuffer* _buffer;
+ bool _resolve_required;
+ bool _input_active;
+ MidiFilter _inbound_midi_filter;
boost::shared_ptr<MidiPort> _shadow_port;
- MidiFilter shadow_midi_filter;
- MIDI::Parser* _trace_parser;
- bool _data_fetched_for_cycle;
+ MidiFilter _shadow_midi_filter;
+ MIDI::Parser* _trace_parser;
+ bool _data_fetched_for_cycle;
void resolve_notes (void* buffer, samplepos_t when);
void pull_input (pframes_t nframes, bool adjust_speed);