Adjust asciidoc command-line for ladoc-py
[jackdbus.git] / dbus / audio_reserve.h
blobdb01f1aba5b7426d5193b8f11f85af30d6aeb203
1 /*
2 Copyright (C) 2009 Grame
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License.
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 General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 #ifndef __audio_reserve__
20 #define __audio_reserve__
22 #include "JackCompilerDeps.h"
23 #include <stdbool.h>
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 SERVER_EXPORT int audio_reservation_init();
30 SERVER_EXPORT int audio_reservation_finish();
32 SERVER_EXPORT bool audio_acquire(const char * device_name);
33 SERVER_EXPORT void audio_release(const char * device_name);
34 SERVER_EXPORT void audio_reserve_loop();
36 #ifdef __cplusplus
37 } /* extern "C" */
38 #endif
40 #endif