-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpython.cpp
More file actions
38 lines (33 loc) · 1.08 KB
/
python.cpp
File metadata and controls
38 lines (33 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include "signalflow/python/python.h"
void init_python_constants(py::module &m);
void init_python_node(py::module &m);
void init_python_nodes(py::module &m);
void init_python_buffer(py::module &m);
void init_python_config(py::module &m);
void init_python_graph(py::module &m);
void init_python_patch(py::module &m);
void init_python_exceptions(py::module &m);
void init_python_util(py::module &m);
PYBIND11_MODULE(signalflow, m)
{
m.doc() = R"pbdoc(
SignalFlow
----------
A framework for audio DSP.
)pbdoc";
/*--------------------------------------------------------------------------------
* SIGNALFLOW_VERSION should be defined by setup.py and passed into the build.
*-------------------------------------------------------------------------------*/
#ifdef SIGNALFLOW_VERSION
m.attr("__version__") = SIGNALFLOW_VERSION;
#endif
init_python_constants(m);
init_python_node(m);
init_python_nodes(m);
init_python_config(m);
init_python_graph(m);
init_python_buffer(m);
init_python_patch(m);
init_python_exceptions(m);
init_python_util(m);
}