libcm is a C development framework with an emphasis on audio signal processing applications.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

cmAudioPortOsx.h 1.1KB

12345678910111213141516171819202122232425262728293031323334
  1. //| Copyright: (C) 2009-2020 Kevin Larke <contact AT larke DOT org>
  2. //| License: GNU GPL version 3.0 or above. See the accompanying LICENSE file.
  3. #ifndef cmAudioPortOsx_h
  4. #define cmAudioPortOsx_h
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. cmApRC_t cmApOsxInitialize( cmRpt_t* rpt, unsigned baseApDevIdx );
  9. cmApRC_t cmApOsxFinalize();
  10. cmApRC_t cmApOsxDeviceCount();
  11. const char* cmApOsxDeviceLabel( unsigned devIdx );
  12. unsigned cmApOsxDeviceChannelCount( unsigned devIdx, bool inputFl );
  13. double cmApOsxDeviceSampleRate( unsigned devIdx );
  14. unsigned cmApOsxDeviceFramesPerCycle( unsigned devIdx, bool inputFl );
  15. cmApRC_t cmApOsxDeviceSetup(
  16. unsigned devIdx,
  17. double srate,
  18. unsigned framesPerCycle,
  19. cmApCallbackPtr_t callbackPtr,
  20. void* userCbPtr );
  21. cmApRC_t cmApOsxDeviceStart( unsigned devIdx );
  22. cmApRC_t cmApOsxDeviceStop( unsigned devIdx );
  23. bool cmApOsxDeviceIsStarted( unsigned devIdx );
  24. void cmApOsxTest( cmRpt_t* );
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif