summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_model.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-27 16:51:09 -0500
committerDavid Robillard <d@drobilla.net>2015-03-05 17:11:24 -0500
commit09f1571fc0c9dd164601cfd3d12fac31a084b9f6 (patch)
tree11712d2a224c9353be764d224bc1a10e748dc3c5 /libs/ardour/midi_model.cc
parent5bf90524df6a1a6d62fabd83cda7fac393bfdcbc (diff)
Clean up MidiPlaylist::read, kill copy-paste code.
Towards putting more advanced logic here, where two copies of everything will get even more hairy. The two cases of reading from one or many regions are not very different in the read phase, the only difference is the target. So, point a reference to the appropriate target, use the same read code in either case, then sort/etc afterwards only if necessary.
Diffstat (limited to 'libs/ardour/midi_model.cc')
0 files changed, 0 insertions, 0 deletions