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.

41 lines
1.1KB

  1. /*
  2. Copyright (C) 2009 Grame
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation; either version 2 of the License.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program; if not, write to the Free Software
  12. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  13. */
  14. #ifndef __audio_reserve__
  15. #define __audio_reserve__
  16. #include "JackCompilerDeps.h"
  17. #include <stdbool.h>
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. SERVER_EXPORT int audio_reservation_init();
  22. SERVER_EXPORT int audio_reservation_finish();
  23. SERVER_EXPORT bool audio_acquire(const char * device_name);
  24. SERVER_EXPORT void audio_release(const char * device_name);
  25. SERVER_EXPORT void audio_reserve_loop();
  26. #ifdef __cplusplus
  27. } /* extern "C" */
  28. #endif
  29. #endif