libcm is a C development framework with an emphasis on audio signal processing applications.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

cmDspPgmKrChain.h 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //| Copyright: (C) 2009-2020 Kevin Larke <contact AT larke DOT org>
  2. //| License: GNU GPL version 3.0 or above. See the accompanying LICENSE file.
  3. #ifndef cmDspPgmKrChain_h
  4. #define cmDspPgmKrChain_h
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. //( { file_desc:"Signal processing chain implementation for 'GUTIM'." kw:[snap gutim] }
  9. typedef struct
  10. {
  11. const cmChar_t* tlFn;
  12. const cmChar_t* tlPrefixPath;
  13. const cmChar_t* scFn;
  14. const cmChar_t* tksbFn;
  15. const cmChar_t* modFn;
  16. const cmChar_t* measFn;
  17. const cmChar_t* recordDir;
  18. const cmChar_t* midiDevice;
  19. const cmChar_t* midiOutPort;
  20. const cmChar_t* midiOutPort2;
  21. } krRsrc_t;
  22. cmDspRC_t krLoadRsrc(cmDspSysH_t h, cmErr_t* err, krRsrc_t* r);
  23. // connection information for 1 transform channel
  24. typedef struct
  25. {
  26. cmDspInst_t* achan;
  27. cmDspInst_t* kr0; // audio input
  28. cmDspInst_t* kr1;
  29. cmDspInst_t* cmp; // audio output
  30. } cmDspTlXform_t;
  31. void _cmDspSys_TlXformChain(
  32. cmDspSysH_t h,
  33. cmDspTlXform_t* c,
  34. unsigned preGrpSymId,
  35. unsigned cmpPreGrpSymId,
  36. cmDspInst_t* amp,
  37. cmDspInst_t* modp,
  38. unsigned ach,
  39. unsigned mch );
  40. //)
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44. #endif