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.

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