libcm is a C development framework with an emphasis on audio signal processing applications.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cmDspPgmPPMain.h 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #ifndef cmDspPgmPPMain_h
  2. #define cmDspPgmPPMain_h
  3. //( { file_desc:"'fluxo' implementation header." kw:[fluxo] }
  4. cmDspInst_t* _cmDspSys_PresetMgmt( cmDspSysH_t h, const cmChar_t* preLbl, unsigned presetGroupSymId );
  5. typedef struct
  6. {
  7. cmErr_t* err;
  8. unsigned nsCnt; // count of noise shapers (4)
  9. cmDspInst_t* chCfg;
  10. cmDspInst_t* print;
  11. unsigned iChCnt;
  12. unsigned oChCnt;
  13. } _cmDspPP_Ctx_t;
  14. typedef struct
  15. {
  16. const cmChar_t* title;
  17. const cmChar_t* preLbl;
  18. } _cmDspPP_CircDesc_t;
  19. typedef struct
  20. {
  21. // These fields are provided by _cmDspPP_CircuitSwitchAlloc()
  22. // public:
  23. unsigned circuitCnt; // count of circuits (cn)
  24. cmDspInst_t** omix; // omix[ circuitCnt] one audio mixer per output channel
  25. } cmDspPP_CircuitSwitch_t;
  26. unsigned _cmDspPP_CircuitDescCount();
  27. const _cmDspPP_CircDesc_t* _cmDspPP_CircuitDesc( unsigned idx );
  28. cmDspRC_t _cmDspPP_CircuitSwitchAlloc( cmDspSysH_t h, _cmDspPP_Ctx_t* ctx, cmDspPP_CircuitSwitch_t* p, cmDspInst_t* reset, cmDspInst_t** csel, cmDspInst_t** ain, cmDspInst_t** ef );
  29. cmDspRC_t _cmDspPP_CircuitSwitchFree( cmDspSysH_t h, cmDspPP_CircuitSwitch_t* p);
  30. //)
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif