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

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