libcm is a C development framework with an emphasis on audio signal processing applications.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

cmAudioPortOsx.h 987B

1234567891011121314151617181920212223242526272829303132
  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. void cmApOsxTest( cmRpt_t* );
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif