-Fixed function issue, fixed TimeBase

This commit is contained in:
Harry van Haaren 2013-10-03 21:34:41 +01:00
parent 1e5b9ff162
commit de952f69f1
2 changed files with 2 additions and 3 deletions

View file

@ -3,7 +3,6 @@
#define LUPPP_LOOPER_CLIP_H
#include <stdio.h>
#include <cstdio> // size_t
#include "state/stately.hxx"
#include "config.hxx"
#include "gridlogic.hxx"
@ -77,7 +76,7 @@ class LooperClip : public Stately
/// Luppp internal buffer resizing
void newBufferInTransit(bool n);
bool newBufferInTransit();
size_t recordSpaceAvailable();
unsigned long recordSpaceAvailable();
/** used to update the size of the buffer for this looperclip. The current
* data is copied into the new buffer, then the smaller buffer is sent

View file

@ -159,7 +159,7 @@ void TimeManager::process(Buffers* buffers)
buffers->transportPosition->ticks_per_beat = 1920;
int bpm = int( samplerate * fpb / 60.0);
int bpm = ( samplerate * 60) / fpb;
//LUPPP_NOTE("BPM = %i " , bpm );
buffers->transportPosition->beats_per_minute = bpm;