summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/midi_port.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-08-13 03:40:04 +0000
committerDavid Robillard <d@drobilla.net>2006-08-13 03:40:04 +0000
commit0b572cdd84151335594965a3f0ed16f1665dfa56 (patch)
tree25818906a95bd0c47c190793d7924b75b5076fde /libs/ardour/ardour/midi_port.h
parenta98a67120eea8ebb817eebea048affc182ea054e (diff)
More signal path cleanup, IO now has one deliver_output function that should do the reasonable thing in all cases.
Including deliver MIDI. You can now create a MIDI Track, run some MIDI through it, and toggle the mute button on and off, hearing either silence or a large amount of stuck notes depending on your luck. Woooo. git-svn-id: svn://localhost/ardour2/branches/midi@818 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/midi_port.h')
-rw-r--r--libs/ardour/ardour/midi_port.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/ardour/ardour/midi_port.h b/libs/ardour/ardour/midi_port.h
index a2bc259a6e..3c48f0ce9e 100644
--- a/libs/ardour/ardour/midi_port.h
+++ b/libs/ardour/ardour/midi_port.h
@@ -40,7 +40,6 @@ class MidiPort : public Port {
DataType type() const { return DataType(DataType::MIDI); }
MidiBuffer& get_buffer() {
- assert(_nframes_this_cycle > 0);
return *_buffer;
}