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.

92 lines
2.7KB

  1. /*
  2. Copyright (C) 2004-2008 Grame
  3. Copyright (C) 2013 Samsung Electronics
  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_android__
  17. #define __JackPlatformPlug_android__
  18. #define jack_server_dir "/data/misc/jack"
  19. #define jack_client_dir "/data/misc/jack"
  20. #define JACK_DEFAULT_DRIVER "alsa"
  21. namespace Jack
  22. {
  23. struct JackRequest;
  24. struct JackResult;
  25. class JackPosixMutex;
  26. class JackAndroidThread;
  27. class JackFifo;
  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 "JackAndroidThread.h"
  40. namespace Jack { typedef JackAndroidThread JackThread; }
  41. /* __JackPlatformSynchro__ client activation */
  42. /*
  43. #include "JackFifo.h"
  44. namespace Jack { typedef JackFifo JackSynchro; }
  45. */
  46. #include "JackAndroidSemaphore.h"
  47. namespace Jack { typedef JackAndroidSemaphore JackSynchro; }
  48. /* __JackPlatformChannelTransaction__ */
  49. /*
  50. #include "JackSocket.h"
  51. namespace Jack { typedef JackClientSocket JackChannelTransaction; }
  52. */
  53. /* __JackPlatformProcessSync__ */
  54. #include "JackPosixProcessSync.h"
  55. namespace Jack { typedef JackPosixProcessSync JackProcessSync; }
  56. /* __JackPlatformServerChannel__ */
  57. #include "JackSocketServerChannel.h"
  58. namespace Jack { typedef JackSocketServerChannel JackServerChannel; }
  59. /* __JackPlatformClientChannel__ */
  60. #include "JackSocketClientChannel.h"
  61. namespace Jack { typedef JackSocketClientChannel JackClientChannel; }
  62. /* __JackPlatformServerNotifyChannel__ */
  63. #include "JackSocketServerNotifyChannel.h"
  64. namespace Jack { typedef JackSocketServerNotifyChannel JackServerNotifyChannel; }
  65. /* __JackPlatformNotifyChannel__ */
  66. #include "JackSocketNotifyChannel.h"
  67. namespace Jack { typedef JackSocketNotifyChannel JackNotifyChannel; }
  68. /* __JackPlatformNetSocket__ */
  69. #include "JackNetUnixSocket.h"
  70. namespace Jack { typedef JackNetUnixSocket JackNetSocket; }
  71. #endif