Redraw MIDI region views on zoom and track height changes.

Disable excessive/old debug prints.
Fix region view heights.


git-svn-id: svn://localhost/ardour2/trunk@1982 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2007-06-09 06:10:30 +00:00
parent 7ff7f4013d
commit 13151b43f0
8 changed files with 73 additions and 15 deletions

View file

@ -137,7 +137,7 @@ SMFSource::init (string pathstr, bool must_exist)
int
SMFSource::open()
{
cerr << "Opening SMF file " << path() << " writeable: " << writable() << endl;
//cerr << "Opening SMF file " << path() << " writeable: " << writable() << endl;
assert(writable()); // FIXME;
@ -149,7 +149,7 @@ SMFSource::open()
uint32_t track_size_be = 0;
fread(&track_size_be, 4, 1, _fd);
_track_size = GUINT32_FROM_BE(track_size_be);
cerr << "SMF - read track size " << _track_size << endl;
//cerr << "SMF - read track size " << _track_size << endl;
// We're making a new file
} else {