mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Apply patch from timbyr to fix building with --test.
git-svn-id: svn://localhost/ardour2/branches/3.0@10561 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
420780f5fc
commit
bf8f0b2cb5
7 changed files with 23 additions and 14 deletions
|
|
@ -40,7 +40,7 @@ SMFTest::takeFiveTest ()
|
|||
if (ret > 0) { // didn't skip (meta) event
|
||||
//cerr << "read smf event type " << hex << int(buf[0]) << endl;
|
||||
// make ev.time absolute time in frames
|
||||
ev.time() = time * frames_per_beat / (double)smf.ppqn();
|
||||
ev.set_time(time * frames_per_beat / (double)smf.ppqn());
|
||||
ev.set_event_type(type_map->midi_event_type(buf[0]));
|
||||
seq->append(ev, next_event_id ());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue