scripting: support for zone based routing in application classes
[profile/ivi/pulseaudio-module-murphy-ivi.git] / murphy / dbusif.h
1 /*
2  * module-murphy-ivi -- PulseAudio module for providing audio routing support
3  * Copyright (c) 2012, Intel Corporation.
4  *
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.
8  *
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.
13  *
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,
17  * MA 02110-1301 USA.
18  *
19  */
20 #ifndef foodbusiffoo
21 #define foodbusiffoo
22
23 #include "routerif.h"
24
25 /*
26  * audiomanager methods
27  */
28 #define AUDIOMGR_REGISTER_DOMAIN    "registerDomain"
29 #define AUDIOMGR_DOMAIN_COMPLETE    "hookDomainRegistrationComplete"
30 #define AUDIOMGR_DEREGISTER_DOMAIN  "deregisterDomain"
31
32 #define AUDIOMGR_REGISTER_SOURCE    "registerSource"
33 #define AUDIOMGR_DEREGISTER_SOURCE  "deregisterSource"
34
35 #define AUDIOMGR_REGISTER_SINK      "registerSink"
36 #define AUDIOMGR_DEREGISTER_SINK    "deregisterSink"
37
38 #define AUDIOMGR_CONNECT            "asyncConnect"
39 #define AUDIOMGR_CONNECT_ACK        "ackConnect"
40
41 #define AUDIOMGR_DISCONNECT         "asyncDisconnect"
42 #define AUDIOMGR_DISCONNECT_ACK     "ackDisconnect"
43
44 #define AUDIOMGR_SETSINKVOL_ACK     "ackSetSinkVolume"
45 #define AUDIOMGR_SETSRCVOL_ACK      "ackSetSourceVolume"
46 #define AUDIOMGR_SINKVOLTICK_ACK    "ackSinkVolumeTick"
47 #define AUDIOMGR_SRCVOLTICK_ACK     "ackSourceVolumeTick"
48 #define AUDIOMGR_SETSINKPROP_ACK    "ackSetSinkSoundProperty"
49
50
51 #if 0
52 void pa_routerif_send_device_state(struct userdata *,char *,char **,int);
53 void pa_routerif_send_media_status(struct userdata *, const char *,
54                                    const char *, int);
55 #endif
56
57 #endif
58
59 /*
60  * Local Variables:
61  * c-basic-offset: 4
62  * indent-tabs-mode: nil
63  * End:
64  *
65  */