aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/peaks.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg-sampler.lv2/peaks.h')
-rw-r--r--plugins/eg-sampler.lv2/peaks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/eg-sampler.lv2/peaks.h b/plugins/eg-sampler.lv2/peaks.h
index f3d2f04..39d56e7 100644
--- a/plugins/eg-sampler.lv2/peaks.h
+++ b/plugins/eg-sampler.lv2/peaks.h
@@ -231,11 +231,14 @@ peaks_receiver_receive(PeaksReceiver* receiver, const LV2_Atom_Object* update)
const LV2_Atom_Int* offset = NULL;
const LV2_Atom_Int* total = NULL;
const LV2_Atom_Vector* peaks = NULL;
+
+ // clang-format off
lv2_atom_object_get_typed(update,
uris->peaks_offset, &offset, uris->atom_Int,
uris->peaks_total, &total, uris->atom_Int,
uris->peaks_magnitudes, &peaks, uris->atom_Vector,
0);
+ // clang-format on
if (!offset || !total || !peaks ||
peaks->body.child_type != uris->atom_Float) {