pa_mac_hostapis.c 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. * $Id: pa_mac_hostapis.c 1097 2006-08-26 08:27:53Z rossb $
  3. * Portable Audio I/O Library Macintosh initialization table
  4. *
  5. * Based on the Open Source API proposed by Ross Bencina
  6. * Copyright (c) 1999-2002 Ross Bencina, Phil Burk
  7. *
  8. * Permission is hereby granted, free of charge, to any person obtaining
  9. * a copy of this software and associated documentation files
  10. * (the "Software"), to deal in the Software without restriction,
  11. * including without limitation the rights to use, copy, modify, merge,
  12. * publish, distribute, sublicense, and/or sell copies of the Software,
  13. * and to permit persons to whom the Software is furnished to do so,
  14. * subject to the following conditions:
  15. *
  16. * The above copyright notice and this permission notice shall be
  17. * included in all copies or substantial portions of the Software.
  18. *
  19. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  20. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  21. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  22. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
  23. * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
  24. * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  25. * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  26. */
  27. /*
  28. * The text above constitutes the entire PortAudio license; however,
  29. * the PortAudio community also makes the following non-binding requests:
  30. *
  31. * Any person wishing to distribute modifications to the Software is
  32. * requested to send the modifications to the original developer so that
  33. * they can be incorporated into the canonical version. It is also
  34. * requested that these non-binding requests be included along with the
  35. * license above.
  36. */
  37. /** @file
  38. @ingroup macosx_src
  39. Mac OS host API initialization function table.
  40. */
  41. #include "pa_hostapi.h"
  42. #ifdef __cplusplus
  43. extern "C"
  44. {
  45. #endif /* __cplusplus */
  46. PaError PaSkeleton_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
  47. PaError PaMacCore_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
  48. PaError PaMacSm_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
  49. PaError PaJack_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
  50. PaError PaMacAsio_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
  51. #ifdef __cplusplus
  52. }
  53. #endif /* __cplusplus */
  54. PaUtilHostApiInitializer *paHostApiInitializers[] =
  55. {
  56. PaMacCore_Initialize,
  57. 0 /* NULL terminated array */
  58. };
  59. int paDefaultHostApiIndex = 0;