Beispiel #1
0
// rt
static void
_bundle_pop_cb(void *data)
{
	prog_t *handle = data;

	handle->osc_ptr = osc_end_bundle(handle->osc_ptr, handle->osc_end,
		handle->bndl[--handle->bndl_cnt]);
}
static osc_data_t *
oscmidi_engine_end_cb(osc_data_t *buf, osc_data_t *end, CMC_Frame_Event *fev)
{
	(void)fev;
	osc_data_t *buf_ptr = buf;

	buf_ptr = osc_end_bundle(buf_ptr, end, bndl);
	if(cmc_engines_active + config.dump.enabled > 1)
		buf_ptr = osc_end_bundle_item(buf_ptr, end, pack);

	return buf_ptr;
}