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

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