aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-05-01 13:39:31 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-05-01 13:39:31 +0200
commit1105a686f02e3df7d96d90977295671aa2ab2690 (patch)
tree030b19f2c802942096a7017446a4a5284baa7149 /include
parent2ab0110193479f63ff8c72c899c0ccc2d81b6d21 (diff)
downloadsynthpod-1105a686f02e3df7d96d90977295671aa2ab2690.tar.xz
app: always assume multiplex mode for ports.
* simpler to maintain codebase.
Diffstat (limited to 'include')
-rw-r--r--include/synthpod_private.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/synthpod_private.h b/include/synthpod_private.h
index 7adc491e..8dd42946 100644
--- a/include/synthpod_private.h
+++ b/include/synthpod_private.h
@@ -1948,24 +1948,6 @@ _preset_reload(LilvWorld *world, reg_t *regs, const LilvPlugin *plugin,
return presets;
}
-static inline LV2_Atom_Event*
-_lv2_atom_sequence_append_atom(LV2_Atom_Sequence *seq, uint32_t capacity,
- int64_t frames, const LV2_Atom *atom)
-{
- const uint32_t total_size = sizeof(LV2_Atom_Event) + atom->size;
-
- if(capacity - seq->atom.size < total_size)
- return NULL;
-
- LV2_Atom_Event* ev = lv2_atom_sequence_end(&seq->body, seq->atom.size);
- ev->time.frames = frames;
- memcpy(&ev->body, atom, lv2_atom_total_size(atom));
-
- seq->atom.size += lv2_atom_pad_size(total_size);
-
- return ev;
-}
-
static inline int
_signum(LV2_URID urid1, LV2_URID urid2)
{