2 * module-murphy-ivi -- PulseAudio module for providing audio routing support
3 * Copyright (c) 2012, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU Lesser General Public License,
7 * version 2.1, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE.
12 * See the GNU Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin St - Fifth Floor, Boston,
20 #ifndef foomurphyiviutilsfoo
21 #define foomurphyiviutilsfoo
24 #include <pulsecore/core.h>
28 struct pa_null_sink *pa_utils_create_null_sink(struct userdata *,const char *);
29 void pa_utils_destroy_null_sink(struct userdata *);
30 pa_sink *pa_utils_get_null_sink(struct userdata *);
31 pa_source *pa_utils_get_null_source(struct userdata *);
33 char *pa_utils_get_card_name(pa_card *);
34 char *pa_utils_get_sink_name(pa_sink *);
35 char *pa_utils_get_source_name(pa_source *);
36 char *pa_utils_get_sink_input_name(pa_sink_input *);
37 char *pa_utils_get_sink_input_name_from_data(pa_sink_input_new_data *);
38 char *pa_utils_get_source_output_name(pa_source_output *);
39 char *pa_utils_get_source_output_name_from_data(pa_source_output_new_data *);
41 void pa_utils_set_stream_routing_properties(pa_proplist *, int, void *);
42 void pa_utils_set_stream_routing_method_property(pa_proplist *, pa_bool_t);
43 pa_bool_t pa_utils_stream_has_default_route(pa_proplist *);
44 int pa_utils_get_stream_class(pa_proplist *);
46 #ifdef foouserdatafoo /* argh ... */
47 mir_node *pa_utils_get_node_from_stream(struct userdata *,mir_direction,void*);
48 mir_node *pa_utils_get_node_from_data(struct userdata *, mir_direction,void *);
51 const char *pa_utils_file_path(const char *, char *, size_t);
53 uint32_t pa_utils_new_stamp(void);
54 uint32_t pa_utils_get_stamp(void);
61 * indent-tabs-mode: nil