libcm is a C development framework with an emphasis on audio signal processing applications.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

cmSyncRecd.h 938B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef cmSyncRecd_h
  2. #define cmSyncRecd_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. enum
  7. {
  8. kOkSrRC,
  9. kFileFailSrRC,
  10. kAudioFileFailSrRC
  11. };
  12. typedef cmHandle_t cmSyncRecdH_t;
  13. typedef cmRC_t cmSrRC_t;
  14. extern cmSyncRecdH_t cmSyncRecdNullHandle;
  15. cmSrRC_t cmSyncRecdCreate( cmCtx_t* ctx, cmSyncRecdH_t* hp, const cmChar_t* srFn, const cmChar_t* audioFn, double srate, unsigned chCnt, unsigned bits );
  16. cmSrRC_t cmSyncRecdOpen( cmCtx_t* ctx, cmSyncRecdH_t* hp, const cmChar_t* srFn );
  17. cmSrRC_t cmSyncRecdFinal( cmSyncRecdH_t* hp );
  18. bool cmSyncRecdIsValid( cmSyncRecdH_t h );
  19. cmSrRC_t cmSyncRecdMidiWrite( cmSyncRecdH_t h, const cmTimeSpec_t* timestamp, unsigned status, unsigned d0, unsigned d1 );
  20. cmSrRC_t cmSyncRecdAudioWrite( cmSyncRecdH_t h, const cmTimeSpec_t* timestamp, unsigned smpIdx, const cmSample_t* ch[], unsigned chCnt, unsigned frmCnt );
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif