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.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #ifndef cmAudDspLocal_h
  2. #define cmAudDspLocal_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. //( { file_desc: "Implementation of the audio DSP interface for local, in-memory, communication." kw:[rt]}
  7. //
  8. // This class instantiates an audio-DSP engine (cmAudDsp),
  9. // an interface for communicating with it (cmAudDspIF),
  10. // and message delivery functions for copying messages
  11. // in both directions between cmAuDsp and cmAudDspIF.
  12. //
  13. // Note that the underlying inteface which allows an application to
  14. // control, and receive message from, cmAudDsp is provided by
  15. // cmAudDspIF - which this class provides a handle to.
  16. //)
  17. //(
  18. enum
  19. {
  20. kOkAdlRC = cmOkRC,
  21. kAudDspIfFailAdlRC,
  22. kAudDspFailAdlRC,
  23. kFileSysFailAdlRC,
  24. kJsonFailAdlRC
  25. };
  26. typedef cmRC_t cmAdlRC_t;
  27. typedef cmHandle_t cmAdlH_t;
  28. extern cmAdlH_t cmAdlNullHandle;
  29. cmAdlRC_t cmAudDspLocalAllocate(
  30. cmCtx_t* ctx,
  31. cmAdlH_t* hp,
  32. const cmAdIfDispatch_t* recd );
  33. cmAdlRC_t cmAudDspLocalFree( cmAdlH_t* hp );
  34. cmAdlRC_t cmAudDspLocalSendSetup( cmAdlH_t h );
  35. bool cmAudDspLocalIsValid( cmAdlH_t h );
  36. cmAiH_t cmAudDspLocalIF_Handle( cmAdlH_t h );
  37. //)
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41. #endif