diff options
author | David Robillard <d@drobilla.net> | 2011-11-13 03:54:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-13 03:54:29 +0000 |
commit | bf8f0b2cb5cd41be9f709cb0cc2a445ec339d5f8 (patch) | |
tree | bc54f29d91c1713e9ce4587e085813835558ff1e /libs/evoral/test | |
parent | 420780f5fcc43d060bad166286dca85a651d9be8 (diff) |
Apply patch from timbyr to fix building with --test.
git-svn-id: svn://localhost/ardour2/branches/3.0@10561 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/test')
-rw-r--r-- | libs/evoral/test/SMFTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/test/SMFTest.cpp b/libs/evoral/test/SMFTest.cpp index b57f89e871..d4b2a28aff 100644 --- a/libs/evoral/test/SMFTest.cpp +++ b/libs/evoral/test/SMFTest.cpp @@ -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 ()); } |