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

123456789101112131415161718192021222324252627282930313233
  1. #ifndef cmDspStore_h
  2. #define cmDspStore_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. //( { file_desc:"'snap' global variable interface used by units for getting and setting global variables." kw:[snap]}
  7. extern cmDspStoreH_t cmDspStoreNullHandle;
  8. cmDspRC_t cmDspStoreAlloc( cmCtx_t* ctx, cmDspStoreH_t* hp, unsigned initStoreCnt, unsigned growStoreCnt );
  9. cmDspRC_t cmDspStoreFree( cmDspStoreH_t *hp );
  10. bool cmDspStoreIsValid( cmDspStoreH_t h );
  11. unsigned cmDspStoreSymToId( cmDspStoreH_t h, unsigned symId );
  12. unsigned cmDspStoreIdToSym( cmDspStoreH_t h, unsigned id );
  13. const cmDspValue_t* cmDspStoreIdToValue( cmDspStoreH_t h, unsigned id );
  14. cmDspRC_t cmDspStoreSetValueViaId( cmDspStoreH_t h, unsigned id, const cmDspValue_t* val );
  15. // Sets the variable to the value (and creates it if it does not exist).
  16. // Returns the 'id' of the variable.
  17. unsigned cmDspStoreSetValueViaSym( cmDspStoreH_t h, unsigned symId, const cmDspValue_t* val );
  18. //)
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif