mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
Fix more broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@8314 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7e3404e2a0
commit
f6ed36a457
9 changed files with 969 additions and 969 deletions
|
|
@ -96,6 +96,7 @@ class MidiSource : virtual public Source, public boost::enable_shared_from_this<
|
|||
int set_state (const XMLNode&, int version);
|
||||
|
||||
bool length_mutable() const { return true; }
|
||||
double length_beats() const { return _length_beats; }
|
||||
|
||||
virtual void load_model(bool lock=true, bool force_reload=false) = 0;
|
||||
virtual void destroy_model() = 0;
|
||||
|
|
|
|||
|
|
@ -74,7 +74,9 @@ MidiRegion::MidiRegion (const SourceList& srcs)
|
|||
: Region (srcs)
|
||||
, _length_beats (Properties::length_beats, (Evoral::MusicalTime) 0)
|
||||
{
|
||||
update_length_beats ();
|
||||
_length_beats = midi_source(0)->length_beats();
|
||||
cout << "NEW MIDI REGION LENGTH BEATS: " << _length_beats << endl;
|
||||
|
||||
register_properties ();
|
||||
|
||||
midi_source(0)->ModelChanged.connect_same_thread (_source_connection, boost::bind (&MidiRegion::model_changed, this));
|
||||
|
|
|
|||
|
|
@ -353,8 +353,6 @@ MidiSource::session_saved()
|
|||
|
||||
if (_model && _model->edited()) {
|
||||
|
||||
|
||||
|
||||
// if the model is edited, write its contents into
|
||||
// the current source file (overwiting previous contents.
|
||||
|
||||
|
|
|
|||
|
|
@ -152,8 +152,7 @@ MidiStateTracker::resolve_notes (MidiSource& src, Evoral::MusicalTime time)
|
|||
ev.set_velocity (0);
|
||||
src.append_event_unlocked_beats (ev);
|
||||
_active_notes[note + 128 * channel]--;
|
||||
/* don't stack events up at the same time
|
||||
*/
|
||||
/* don't stack events up at the same time */
|
||||
time += 1.0/128.0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue