libcm is a C development framework with an emphasis on audio signal processing applications.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

cmUiRtSysMstr.h 1.1KB

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