From 3dc259eea6a3bcb46c8547e2dbac5b02b7144f11 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 May 2019 12:32:45 +0200 Subject: Fix incorrect type for sample rate option --- src/jalv_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jalv_internal.h') diff --git a/src/jalv_internal.h b/src/jalv_internal.h index fb387d2..b159ebd 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -327,7 +327,7 @@ struct Jalv { uint32_t num_ports; ///< Size of the two following arrays: uint32_t plugin_latency; ///< Latency reported by plugin (if any) float ui_update_hz; ///< Frequency of UI updates - uint32_t sample_rate; ///< Sample rate + float sample_rate; ///< Sample rate uint32_t event_delta_t; ///< Frames since last update sent to UI uint32_t position; ///< Transport position in frames float bpm; ///< Transport tempo in beats per minute -- cgit v1.2.1