aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-05-04 12:32:45 +0200
committerDavid Robillard <d@drobilla.net>2019-05-04 12:32:45 +0200
commit3dc259eea6a3bcb46c8547e2dbac5b02b7144f11 (patch)
treed877b5a001409cfd5174769dbff3861430547700 /src/jalv_internal.h
parent3a4efdc47d45558aef921eacae25d51f1b399528 (diff)
downloadjalv-3dc259eea6a3bcb46c8547e2dbac5b02b7144f11.tar.gz
jalv-3dc259eea6a3bcb46c8547e2dbac5b02b7144f11.tar.bz2
jalv-3dc259eea6a3bcb46c8547e2dbac5b02b7144f11.zip
Fix incorrect type for sample rate option
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h2
1 files changed, 1 insertions, 1 deletions
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