13
0

verbosity--

git-svn-id: svn://localhost/ardour2/branches/3.0@4536 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-02-11 20:47:40 +00:00
parent 3d1b648130
commit 550613a898
3 changed files with 7 additions and 7 deletions

View File

@ -129,10 +129,10 @@ bool
MidiBuffer::push_back(const Evoral::MIDIEvent<TimeType>& ev)
{
const size_t stamp_size = sizeof(TimeType);
cerr << "MidiBuffer: pushing event " << " size: " << _size
/*cerr << "MidiBuffer: pushing event " << " size: " << _size
<< " event size: " << ev.size()
<< " capacity: " << _capacity
<< " stamp size: " << stamp_size << " \n";
<< " stamp size: " << stamp_size << " \n";*/
if (_size + stamp_size + ev.size() >= _capacity) {
cerr << "MidiBuffer::push_back failed (buffer is full)"

View File

@ -41,7 +41,7 @@ MidiModel::MidiModel(MidiSource *s, size_t size)
: AutomatableSequence<TimeType>(s->session(), size)
, _midi_source(s)
{
cerr << "MidiModel \"" << s->name() << "\" constructed: " << this << endl;
//cerr << "MidiModel \"" << s->name() << "\" constructed: " << this << endl;
}
/** Start a new command.

View File

@ -270,11 +270,11 @@ SMF<Time>::read_event(uint32_t* delta_t, uint32_t* size, uint8_t** buf) const
if (event_size > 1)
fread((*buf) + 1, 1, *size - 1, _fd);
printf("SMF read event: delta = %u, size = %u, data = ", *delta_t, *size);
/*printf("SMF read event: delta = %u, size = %u, data = ", *delta_t, *size);
for (size_t i=0; i < *size; ++i) {
printf("%X ", (*buf)[i]);
}
printf("\n");
printf("\n");*/
return (int)*size;
}