libcm is a C development framework with an emphasis on audio signal processing applications.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

cmUiRtSysMstr.h 1.3KB

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