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 922B

123456789101112131415161718192021222324252627282930
  1. #ifndef cmAudioPortOsx_h
  2. #define cmAudioPortOsx_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. cmApRC_t cmApOsxInitialize( cmRpt_t* rpt );
  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