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

cmAudioPortOsx.h 945B

123456789101112131415161718192021222324252627282930
  1. #ifndef cmAudioPortOsx_h
  2. #define cmAudioPortOsx_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. cmApRC_t cmApOsxInitialize( cmRpt_t* rpt, unsigned baseApDevIdx );
  7. cmApRC_t cmApOsxFinalize();
  8. cmApRC_t cmApOsxDeviceCount();
  9. const char* cmApOsxDeviceLabel( unsigned devIdx );
  10. unsigned cmApOsxDeviceChannelCount( unsigned devIdx, bool inputFl );
  11. double cmApOsxDeviceSampleRate( unsigned devIdx );
  12. unsigned cmApOsxDeviceFramesPerCycle( unsigned devIdx, bool inputFl );
  13. cmApRC_t cmApOsxDeviceSetup(
  14. unsigned devIdx,
  15. double srate,
  16. unsigned framesPerCycle,
  17. cmApCallbackPtr_t callbackPtr,
  18. void* userCbPtr );
  19. cmApRC_t cmApOsxDeviceStart( unsigned devIdx );
  20. cmApRC_t cmApOsxDeviceStop( unsigned devIdx );
  21. bool cmApOsxDeviceIsStarted( unsigned devIdx );
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif