verbosity--
git-svn-id: svn://localhost/ardour2/branches/3.0@4536 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3d1b648130
commit
550613a898
@ -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)"
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user