File wfm_compose_bridge.h¶
File List > inc > wfm_compose > wfm_compose_bridge.h
Go to the documentation of this file
/*
* wfm_compose_bridge.h — straight-C seams of the `wfm_compose` composer (generated by jm; gh-998).
*
* Every function declared here is written by THIS PROJECT, in plain C, and
* called by the generated binding. The declarations are jm's so that there
* is exactly one of each: include this header from a test, a benchmark or a
* sibling component rather than re-declaring a signature jm already owns.
*/
#ifndef WFM_COMPOSE_BRIDGE_H
#define WFM_COMPOSE_BRIDGE_H
#include "wfm/wfm_compose.h"
#include "wfm_synth/wfm_synth_core.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Build the composed generator from a source config (source -> generator). */
wfm_synth_state_t *wfm_source_to_synth(const wfm_source_t *, double);
#ifdef __cplusplus
}
#endif
#endif /* WFM_COMPOSE_BRIDGE_H */