Required song length is now calculated correctly. However end of sample is not transferred right for last block.
Authored by: kleinebre 2011-07-14
Parent: [r20]
Child: [r22]