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-scope.lv2/examploscope_ui.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins/eg-scope.lv2/examploscope_ui.c') diff --git a/plugins/eg-scope.lv2/examploscope_ui.c b/plugins/eg-scope.lv2/examploscope_ui.c index 32584a4..e9e0c6f 100644 --- a/plugins/eg-scope.lv2/examploscope_ui.c +++ b/plugins/eg-scope.lv2/examploscope_ui.c @@ -559,11 +559,14 @@ recv_raw_audio(EgScopeUI* ui, const LV2_Atom_Object* obj) { const LV2_Atom* chan_val = NULL; const LV2_Atom* data_val = NULL; + + // clang-format off const int n_props = lv2_atom_object_get( obj, ui->uris.channelID, &chan_val, ui->uris.audioData, &data_val, NULL); + // clang-format on if (n_props != 2 || chan_val->type != ui->uris.atom_Int || @@ -598,12 +601,15 @@ recv_ui_state(EgScopeUI* ui, const LV2_Atom_Object* obj) const LV2_Atom* spp_val = NULL; const LV2_Atom* amp_val = NULL; const LV2_Atom* rate_val = NULL; + + // clang-format off const int n_props = lv2_atom_object_get( obj, ui->uris.ui_spp, &spp_val, ui->uris.ui_amp, &_val, ui->uris.param_sampleRate, &rate_val, NULL); + // clang-format on if (n_props != 3 || spp_val->type != ui->uris.atom_Int || -- cgit v1.2.1