From c2816ab42b458c9c5202197b3df665340f57dddd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 26 Dec 2020 15:00:50 +0100 Subject: Add clang-format suppression comments --- plugins/eg-sampler.lv2/peaks.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/eg-sampler.lv2/peaks.h') 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) { -- cgit v1.2.1