aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-06 13:42:19 -0400
committerDavid Robillard <d@drobilla.net>2024-10-06 13:42:19 -0400
commit447b44c67368a4e1686d1db2688e5624a63cd0f4 (patch)
treebc9b4c02421a5cf49117b711da539a0ee48f8246 /plugins/eg-sampler.lv2
parentbe34b0b08bd2d007ff7f40aef88071796eba3c6a (diff)
downloadlv2-447b44c67368a4e1686d1db2688e5624a63cd0f4.tar.xz
Fix code formatting
Diffstat (limited to 'plugins/eg-sampler.lv2')
-rw-r--r--plugins/eg-sampler.lv2/sampler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c
index d870a07..d2d480d 100644
--- a/plugins/eg-sampler.lv2/sampler.c
+++ b/plugins/eg-sampler.lv2/sampler.c
@@ -353,7 +353,7 @@ deactivate(LV2_Handle instance)
}
/** Define a macro for converting a gain in dB to a coefficient. */
-#define DB_CO(g) ((g) > -90.0f ? powf(10.0f, (g)*0.05f) : 0.0f)
+#define DB_CO(g) ((g) > -90.0f ? powf(10.0f, (g) * 0.05f) : 0.0f)
/**
Handle an incoming event in the audio thread.