calssification: more heuristics to guess bluetooth device classes
[profile/ivi/pulseaudio-module-murphy-ivi.git] / murphy / multiplex.h
index 506f17a..7cac3ec 100644 (file)
@@ -1,3 +1,22 @@
+/*
+ * module-murphy-ivi -- PulseAudio module for providing audio routing support
+ * Copyright (c) 2012, Intel Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU Lesser General Public License,
+ * version 2.1, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St - Fifth Floor, Boston,
+ * MA 02110-1301 USA.
+ *
+ */
 #ifndef foomultiplexfoo
 #define foomultiplexfoo
 
@@ -25,7 +44,8 @@ pa_multiplex *pa_multiplex_init(void);
 void pa_multiplex_done(pa_multiplex *, pa_core *);
 
 pa_muxnode *pa_multiplex_create(pa_multiplex *, pa_core *, uint32_t,
-                                pa_channel_map *, const char *, int);
+                                pa_channel_map *, const char *, const char *,
+                                int);
 void pa_multiplex_destroy(pa_multiplex *, pa_core *, pa_muxnode *);
 
 pa_muxnode *pa_multiplex_find(pa_multiplex *, uint32_t);
@@ -40,6 +60,8 @@ pa_bool_t pa_multiplex_remove_explicit_route(pa_core *, pa_muxnode *, pa_sink *)
 pa_bool_t pa_multiplex_duplicate_route(pa_core *, pa_muxnode *,
                                        pa_sink_input *, pa_sink *);
 
+int pa_multiplex_no_of_routes(pa_core *, pa_muxnode *);
+
 int pa_multiplex_print(pa_muxnode *, char *, int);