diff options
Diffstat (limited to 'src/dbus')
-rw-r--r-- | src/dbus/routing_interface.xml | 52 | ||||
-rw-r--r-- | src/dbus/sound_manager_interface.xml | 58 |
2 files changed, 55 insertions, 55 deletions
diff --git a/src/dbus/routing_interface.xml b/src/dbus/routing_interface.xml index a91d6eb..f82b456 100644 --- a/src/dbus/routing_interface.xml +++ b/src/dbus/routing_interface.xml @@ -3,11 +3,11 @@ "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN" "http://standards.freedesktop.org/dbus/1.0/introspect.dtd"> -<node> - <interface name="org.genivi.audiomanager.routinginterface"> - <method name="ackConnect"> - <arg name="handle" type="q" direction="in" /> - <arg name="connectionID" type="q" direction="in" /> +<node> + <interface name="org.genivi.audiomanager.routinginterface"> + <method name="ackConnect"> + <arg name="handle" type="q" direction="in" /> + <arg name="connectionID" type="q" direction="in" /> <arg name="error" type="q" direction="in" /> </method> <method name="ackDisconnect"> @@ -24,23 +24,23 @@ <arg name="volume" type="n" direction="in" /> <arg name="error" type="q" direction="in" /> </method> - <method name="registerSink"> - <arg name="sinkData" type="(qsqinb(ii)nna(in)aia(in)a(iin)a(iin))" direction="in" /> <!-- am_sinkID_t sinkID; std::string name; am_domainID_t domainID; am_sinkClass_t sinkClassID; am_volume_t volume; bool visible; am_Availability_s available; am_MuteState_e muteState;am_mainVolume_t mainVolume; std::vector<am_SoundProperty_s> listSoundProperties; std::vector<am_CustomAvailabilityReason_t> listConnectionFormats; std::vector<am_MainSoundProperty_s> listMainSoundProperties; --> - <arg name="sinkID" type="q" direction="out" /> + <method name="registerSink"> + <arg name="sinkData" type="(qsqinb(ii)nna(in)aia(in)a(iin)a(iin))" direction="in" /> <!-- am_sinkID_t sinkID; std::string name; am_domainID_t domainID; am_sinkClass_t sinkClassID; am_volume_t volume; bool visible; am_Availability_s available; am_MuteState_e muteState;am_mainVolume_t mainVolume; std::vector<am_SoundProperty_s> listSoundProperties; std::vector<am_CustomAvailabilityReason_t> listConnectionFormats; std::vector<am_MainSoundProperty_s> listMainSoundProperties; --> + <arg name="sinkID" type="q" direction="out" /> <arg name="error" type="q" direction="out" /> </method> <method name="deregisterSink"> - <arg name="sinkID" type="q" direction="in" /> + <arg name="sinkID" type="q" direction="in" /> <arg name="error" type="i" direction="out" /> - </method> - <method name="registerSource"> - <arg name="sourceData" type="(qqsqinb(ii)qa(in)aia(in)a(iin)a(iin))" direction="in" /> <!-- am_sourceID_t sourceID; am_domainID_t domainID; std::string name; am_sourceClass_t sourceClassID; am_SourceState_e sourceState; am_volume_t volume; bool visible; am_Availability_s available; am_InterruptState_e interruptState; std::vector<am_SoundProperty_s> listSoundProperties; std::vector<am_CustomAvailabilityReason_t> listConnectionFormats; std::vector<am_MainSoundProperty_s> listMainSoundProperties; --> - <arg name="sourceID" type="q" direction="out" /> + </method> + <method name="registerSource"> + <arg name="sourceData" type="(qqsqinb(ii)qa(in)aia(in)a(iin)a(iin))" direction="in" /> <!-- am_sourceID_t sourceID; am_domainID_t domainID; std::string name; am_sourceClass_t sourceClassID; am_SourceState_e sourceState; am_volume_t volume; bool visible; am_Availability_s available; am_InterruptState_e interruptState; std::vector<am_SoundProperty_s> listSoundProperties; std::vector<am_CustomAvailabilityReason_t> listConnectionFormats; std::vector<am_MainSoundProperty_s> listMainSoundProperties; --> + <arg name="sourceID" type="q" direction="out" /> <arg name="error" type="q" direction="out" /> </method> <method name="deregisterSource"> - <arg name="sourceID" type="q" direction="in" /> - <arg name="error" type="q" direction="out" /> + <arg name="sourceID" type="q" direction="in" /> + <arg name="error" type="q" direction="out" /> </method> <method name="hookInterruptStatusChange"> <arg name="sourceID" type="q" direction="in" /> @@ -48,24 +48,24 @@ </method> <method name="hookSourceAvailablityStatusChange"> <arg name="sourceID" type="q" direction="in" /> - <arg name="availability" type="(nn)" direction="in"/> + <arg name="availability" type="(nn)" direction="in"/> </method> - <method name="confirmRoutingReady"> + <method name="confirmRoutingReady"> <arg name="domainID" type="q" direction="in" /> </method> - <method name="confirmRoutingRundown"> + <method name="confirmRoutingRundown"> <arg name="domainID" type="q" direction="in" /> </method> - <method name="ackSetVolumes"> + <method name="ackSetVolumes"> <arg name="handle" type="q" direction="in" /> <arg name="listvolumes" type="a(nqqnq)" direction="in" /> - <arg name="error" type="q" direction="in" /> - </method> - <method name="ackSinkNotificationConfiguration"> + <arg name="error" type="q" direction="in" /> + </method> + <method name="ackSinkNotificationConfiguration"> <arg name="handle" type="q" direction="in" /> <arg name="error" type="q" direction="in" /> - </method> - <method name="ackSourceNotificationConfiguration"> + </method> + <method name="ackSourceNotificationConfiguration"> <arg name="handle" type="q" direction="in" /> <arg name="error" type="q" direction="in" /> </method> @@ -78,8 +78,8 @@ <arg name="error" type="q" direction="out" /> </method> <signal name="setRoutingReady"> - </signal> + </signal> <signal name="setRoutingRundown"> - </signal> + </signal> </interface> </node> diff --git a/src/dbus/sound_manager_interface.xml b/src/dbus/sound_manager_interface.xml index df7df04..de528f9 100644 --- a/src/dbus/sound_manager_interface.xml +++ b/src/dbus/sound_manager_interface.xml @@ -3,34 +3,34 @@ "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN" "http://standards.freedesktop.org/dbus/1.0/introspect.dtd"> -<node> - <interface name='org.genivi.audiomanager.routing.soundmanager'> - <method name='asyncAbort'> - <arg name='handle' type='q' direction='in' /> +<node> + <interface name='org.genivi.audiomanager.routing.soundmanager'> + <method name='asyncAbort'> + <arg name='handle' type='q' direction='in' /> <arg name='error' type='n' direction='out' /> - </method> - <method name='asyncConnect'> - <arg name='handle' type='q' direction='in' /> - <arg name='connectionID' type='q' direction='in' /> - <arg name='sourceID' type='q' direction='in' /> - <arg name='sinkID' type='q' direction='in' /> - <arg name='connectionFormat' type='i' direction='in' /> - </method> - <method name='asyncDisconnect'> - <arg name='handle' type='q' direction='in' /> - <arg name='connectionID' type='q' direction='in' /> - </method> - <method name='asyncSetSinkVolume'> - <arg name='handle' type='q' direction='in' /> - <arg name='sinkID' type='q' direction='in' /> - <arg name='volume' type='n' direction='in' /> - <arg name='ramp' type='n' direction='in' /> - <arg name='time' type='q' direction='in' /> - </method> - <method name='asyncSetSourceState'> - <arg name='handle' type='q' direction='in' /> - <arg name='sourceID' type='q' direction='in' /> - <arg name='sourceState' type='i' direction='in' /> - </method> - </interface> + </method> + <method name='asyncConnect'> + <arg name='handle' type='q' direction='in' /> + <arg name='connectionID' type='q' direction='in' /> + <arg name='sourceID' type='q' direction='in' /> + <arg name='sinkID' type='q' direction='in' /> + <arg name='connectionFormat' type='i' direction='in' /> + </method> + <method name='asyncDisconnect'> + <arg name='handle' type='q' direction='in' /> + <arg name='connectionID' type='q' direction='in' /> + </method> + <method name='asyncSetSinkVolume'> + <arg name='handle' type='q' direction='in' /> + <arg name='sinkID' type='q' direction='in' /> + <arg name='volume' type='n' direction='in' /> + <arg name='ramp' type='n' direction='in' /> + <arg name='time' type='q' direction='in' /> + </method> + <method name='asyncSetSourceState'> + <arg name='handle' type='q' direction='in' /> + <arg name='sourceID' type='q' direction='in' /> + <arg name='sourceState' type='i' direction='in' /> + </method> + </interface> </node> |