libcm is a C development framework with an emphasis on audio signal processing applications.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

cmAudDspLocal.h 1.1KB

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