From f7bab2f4a23f4af41d1cd741386f1cdd268b31bb Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 13 Jan 2024 10:14:33 -0500 Subject: [PATCH] cwFlowDecl.h,Makefile.am : cwFlowDecl.h initial commit. --- Makefile.am | 4 ++-- cwFlowDecl.h | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 cwFlowDecl.h diff --git a/Makefile.am b/Makefile.am index dfd86be..c40a919 100644 --- a/Makefile.am +++ b/Makefile.am @@ -31,8 +31,8 @@ libcwSRC += src/libcw/cwAudioFile.cpp src/libcw/cwMidiFile.cpp libcwHDR += src/libcw/cwAudioFileOps.h src/libcw/cwAudioTransforms.h src/libcw/cwDspTransforms.h src/libcw/cwAudioFileProc.h src/libcw/cwPvAudioFileProc.h libcwSRC += src/libcw/cwAudioFileOps.cpp src/libcw/cwAudioTransforms.cpp src/libcw/cwDspTransforms.cpp src/libcw/cwAudioFileProc.cpp src/libcw/cwPvAudioFileProc.cpp -libcwHDR += src/libcw/cwFlow.h src/libcw/cwFlowTypes.h src/libcw/cwFlowProc.h src/libcw/cwFlowCross.h -libcwSRC += src/libcw/cwFlow.cpp src/libcw/cwFlowTypes.cpp src/libcw/cwFlowProc.cpp src/libcw/cwFlowCross.cpp +libcwHDR += src/libcw/cwFlow.h src/libcw/cwFlowDecl.h src/libcw/cwFlowTypes.h src/libcw/cwFlowProc.h src/libcw/cwFlowCross.h +libcwSRC += src/libcw/cwFlow.cpp src/libcw/cwFlowTypes.cpp src/libcw/cwFlowProc.cpp src/libcw/cwFlowCross.cpp if cwWEBSOCK libcwHDR += src/libcw/cwWebSock.h src/libcw/cwWebSockSvr.h diff --git a/cwFlowDecl.h b/cwFlowDecl.h new file mode 100644 index 0000000..e106ba0 --- /dev/null +++ b/cwFlowDecl.h @@ -0,0 +1,26 @@ +#ifndef cwFlowDecl_h +#define cwFlowDecl_h + +namespace cw +{ + namespace flow + { + typedef struct preset_order_str + { + const char* preset_label; + unsigned order; + } preset_order_t; + + typedef struct multi_preset_selector_str + { + unsigned type_id; + const double* coeffV; + unsigned coeffN; + const preset_order_t* presetA; + unsigned presetN; + } multi_preset_selector_t; + + } +} + +#endif