jack2 codebase
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.

86 lines
2.6KB

  1. /*
  2. Copyright (C) 2004-2008 Grame
  3. Copyright (C) 2018 Greg V
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU Lesser General Public License as published by
  6. the Free Software Foundation; either version 2.1 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU Lesser General Public License for more details.
  12. You should have received a copy of the GNU Lesser General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  15. */
  16. #ifndef __JackPlatformPlug_freebsd__
  17. #define __JackPlatformPlug_freebsd__
  18. #define jack_server_dir "/tmp"
  19. #define jack_client_dir "/tmp"
  20. #define JACK_DEFAULT_DRIVER "oss"
  21. namespace Jack
  22. {
  23. struct JackRequest;
  24. struct JackResult;
  25. class JackPosixMutex;
  26. class JackPosixThread;
  27. class JackPosixSemaphore;
  28. class JackSocketServerChannel;
  29. class JackSocketClientChannel;
  30. class JackSocketServerNotifyChannel;
  31. class JackSocketNotifyChannel;
  32. class JackClientSocket;
  33. class JackNetUnixSocket;
  34. }
  35. /* __JackPlatformMutex__ */
  36. #include "JackPosixMutex.h"
  37. namespace Jack {typedef JackPosixMutex JackMutex; }
  38. /* __JackPlatformThread__ */
  39. #include "JackPosixThread.h"
  40. namespace Jack { typedef JackPosixThread JackThread; }
  41. /* __JackPlatformSynchro__ client activation */
  42. #include "JackPosixSemaphore.h"
  43. namespace Jack { typedef JackPosixSemaphore JackSynchro; }
  44. /* __JackPlatformChannelTransaction__ */
  45. #include "JackSocket.h"
  46. namespace Jack { typedef JackClientSocket JackChannelTransaction; }
  47. /* __JackPlatformProcessSync__ */
  48. #include "JackPosixProcessSync.h"
  49. namespace Jack { typedef JackPosixProcessSync JackProcessSync; }
  50. /* __JackPlatformServerChannel__ */
  51. #include "JackSocketServerChannel.h"
  52. namespace Jack { typedef JackSocketServerChannel JackServerChannel; }
  53. /* __JackPlatformClientChannel__ */
  54. #include "JackSocketClientChannel.h"
  55. namespace Jack { typedef JackSocketClientChannel JackClientChannel; }
  56. /* __JackPlatformServerNotifyChannel__ */
  57. #include "JackSocketServerNotifyChannel.h"
  58. namespace Jack { typedef JackSocketServerNotifyChannel JackServerNotifyChannel; }
  59. /* __JackPlatformNotifyChannel__ */
  60. #include "JackSocketNotifyChannel.h"
  61. namespace Jack { typedef JackSocketNotifyChannel JackNotifyChannel; }
  62. /* __JackPlatformNetSocket__ */
  63. #include "JackNetUnixSocket.h"
  64. namespace Jack { typedef JackNetUnixSocket JackNetSocket; }
  65. #endif