more midi io debugging
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 13 Jul 2011 20:08:28 +0000 (20:08 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 13 Jul 2011 20:08:28 +0000 (20:08 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9867 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/midi_diskstream.cc

index 663704a675f0c04c53579983b312b9f72a79b225..848f74ccb61895d9834d9f109950b9763f821477 100644 (file)
@@ -146,6 +146,7 @@ MidiDiskstream::non_realtime_locate (framepos_t position)
        if (_write_source) {
                _write_source->set_timeline_position (position);
        }
+       cerr << name() << " Seeking to " << position << endl;
        seek (position, false);
 }
 
@@ -864,7 +865,7 @@ MidiDiskstream::do_flush (RunContext /*context*/, bool force_flush)
        int32_t ret = 0;
        framecnt_t total;
 
-       cerr << name() << " flushing to disk\n";
+       cerr << name() << " flushing to disk, bufspace = " << _capture_buf->read_space() << endl;
 
        _write_data_count = 0;