libcm is a C development framework with an emphasis on audio signal processing applications.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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