Some improvements to performance with crossfades: don't recompute a whole track's...
authorCarl Hetherington <carl@carlh.net>
Sun, 23 Aug 2009 19:42:01 +0000 (19:42 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 23 Aug 2009 19:42:01 +0000 (19:42 +0000)
commitc91da28eb2552c4270e7f07026ee9609c3af717e
treeb884c0d65bae5118bfd1f8326e648721aec36ce4
parentdffd30baf9f9db9310ddf82a5a7d05f96354acd6
Some improvements to performance with crossfades: don't recompute a whole track's crossfade curves
when one region is moved and the display is overlaid; use a std::map for an AudioStreamView's crossfades
list so that add_crossfade can find whether a CrossfadeView already exists without looking through
the whole list.

git-svn-id: svn://localhost/ardour2/branches/3.0@5571 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/audio_streamview.cc
gtk2_ardour/audio_streamview.h
gtk2_ardour/crossfade_view.cc
gtk2_ardour/streamview.cc
libs/ardour/ardour/crossfade.h
libs/ardour/crossfade.cc