Timestamp:
05/15/09 04:48:23 (4 years ago)
Author:
gabriel@…
Message:

Add tests and some fixes to SimpleTransportMaster?.

* Modified behavior of normalize() to *NOT* adjust

the frame. After further thought, this was the
wrong thing to do.

* Change SimpleTransportMaster::processed_frames() to

calculate more stabily... but this is still some
scaffolding code to get things going.

* add a TransportPosition::normalize(target_frame)

method to do a normalization, but also make sure that
we end up on the specified beat.

Status: Hydrogen will scroll when you press play, but still no audio
output. Also, the GUI seems to be off-by-one when it comes to bars
and beats. Fails on a vector bounds check in the GUI thread.

Also, The new tests have some tests that fail even though things are
working as expected. Need to go in and fix up those tests.

Files:
1 added