libcm is a C development framework with an emphasis on audio signal processing applications.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

cmUiRtSysMstr.h 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef cmUiRtSysMstr_h
  2. #define cmUiRtSysMstr_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. enum
  7. {
  8. kOkAmRC = cmOkRC,
  9. kUiFailAmRC,
  10. kPanelNotFoundAmRC
  11. };
  12. typedef cmHandle_t cmUiRtMstrH_t;
  13. typedef cmRC_t cmAmRC_t;
  14. extern cmUiRtMstrH_t cmUiRtMstrNullHandle;
  15. cmAmRC_t cmUiRtSysMstrAlloc( cmCtx_t* ctx, cmUiRtMstrH_t* hp, cmUiH_t uiH, cmRtSysH_t asH, unsigned appId );
  16. cmAmRC_t cmUiRtSysMstrFree( cmUiRtMstrH_t* hp );
  17. bool cmUiRtSysMstrIsValid( cmUiRtMstrH_t h );
  18. cmAmRC_t cmUiRtSysMstrInitialize( cmUiRtMstrH_t h, const cmRtSysCtx_t* c, const cmChar_t* inDevLabel, const cmChar_t* outDevLabel );
  19. // Receive UI events.
  20. cmUiRC_t cmUiRtSysMstrOnUiEvent( cmUiRtMstrH_t h, const cmUiDriverArg_t* a );
  21. // Receive UI status events
  22. cmUiRC_t cmUiRtSysMstrOnStatusEvent( cmUiRtMstrH_t h, const cmRtSysStatus_t* m, const double* iMeterArray, const double* oMeterArray );
  23. // Clear the status indicators.
  24. void cmUiRtSysMstrClearStatus( cmUiRtMstrH_t h );
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif