libcm is a C development framework with an emphasis on audio signal processing applications.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

cmDspCtx.h 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef cmDspCtx_h
  2. #define cmDspCtx_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. typedef cmHandle_t cmDspSysH_t;
  7. typedef cmHandle_t cmDspStoreH_t;
  8. struct cmAudioSysCtx_str;
  9. struct cmDspGlobalVar_str;
  10. // DSP system context passed to many DSP instance functions
  11. typedef struct
  12. {
  13. cmDspSysH_t dspH;
  14. cmRpt_t* rpt;
  15. cmCtx_t* cmCtx; // global pgm context
  16. struct cmCtx_str* cmProcCtx; // context used by cmProc objects
  17. struct cmAudioSysCtx_str* ctx; // audio sub-system context this DSP program is executing within
  18. cmLHeapH_t lhH;
  19. cmJsonH_t jsH;
  20. cmSymTblH_t stH;
  21. cmDspStoreH_t dsH;
  22. cmJsonH_t rsrcJsH;
  23. unsigned cycleCnt; // count of DSP execution cycles (multiply by cmDspSamplesPerCycle() to get time since start of DSP system in samples)
  24. unsigned _disableSymId;
  25. unsigned _enableSymId;
  26. unsigned execDurUsecs;
  27. } cmDspCtx_t;
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif