aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/peaks.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-26 15:00:50 +0100
committerDavid Robillard <d@drobilla.net>2020-12-26 17:55:23 +0100
commitc2816ab42b458c9c5202197b3df665340f57dddd (patch)
tree1d367483a854d7117920f95b943fb01424b77529 /plugins/eg-sampler.lv2/peaks.h
parent64d4a4a46901b1b1ab4eaac4f3f57f8d353e42c5 (diff)
downloadlv2-c2816ab42b458c9c5202197b3df665340f57dddd.tar.xz
Add clang-format suppression comments
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) {