aboutsummaryrefslogtreecommitdiff
path: root/lib/synthpod_app.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/synthpod_app.c')
-rw-r--r--lib/synthpod_app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/synthpod_app.c b/lib/synthpod_app.c
index c68d3515..c087bb16 100644
--- a/lib/synthpod_app.c
+++ b/lib/synthpod_app.c
@@ -1088,7 +1088,7 @@ sp_app_new(const LilvWorld *world, sp_app_driver_t *driver, void *data)
else
; //TODO report
- app->fps.bound = driver->sample_rate / 30; //TODO make this configurable
+ app->fps.bound = driver->sample_rate / 24; //TODO make this configurable
app->fps.counter = 0;
app->ramp_samples = driver->sample_rate / 10; // ramp over 0.1s
@@ -2255,7 +2255,7 @@ sp_app_run_post(sp_app_t *app, uint32_t nsamples)
if(app->fps.counter >= app->fps.bound) // check whether we reached boundary
{
send_port_updates = 1;
- app->fps.counter -= app->fps.bound; // reet sample counter
+ app->fps.counter -= app->fps.bound; // reset sample counter
}
// iterate over all modules