1 #ifndef foopulseextpolicyhfoo
2 #define foopulseextpolicyhfoo
5 This file is part of PulseAudio.
7 PulseAudio is free software; you can redistribute it and/or modify
8 it under the terms of the GNU Lesser General Public License as published
9 by the Free Software Foundation; either version 2.1 of the License,
10 or (at your option) any later version.
12 PulseAudio is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
17 You should have received a copy of the GNU Lesser General Public License
18 along with PulseAudio; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23 #include <pulse/context.h>
24 #include <pulse/version.h>
28 * Routines for controlling module-policy
33 /** Callback prototype for pa_ext_policy_test(). \since 0.9.21 */
34 typedef void (*pa_ext_policy_test_cb_t)(
39 /** Test if this extension module is available in the server. \since 0.9.21 */
40 pa_operation *pa_ext_policy_test(
42 pa_ext_policy_test_cb_t cb,
45 /** Enable the mono mode. \since 0.9.21 */
46 pa_operation *pa_ext_policy_set_mono (
49 pa_context_success_cb_t cb,