15 # include <gio/gunixfdlist.h> 65 _g_strv_equal0 (gchar **a, gchar **b)
69 if (a == NULL && b == NULL)
74 if (a == NULL || b == NULL)
76 if (g_strv_length (a) != g_strv_length (b))
78 for (n = 0; a[n] != NULL; n++)
79 if (g_strcmp0 (a[n], b[n]) != 0)
87 _g_variant_equal0 (GVariant *a, GVariant *b)
90 if (a == NULL && b == NULL)
95 if (a == NULL || b == NULL)
97 ret = g_variant_equal (a, b);
102 G_GNUC_UNUSED
static gboolean
103 _g_value_equal (
const GValue *a,
const GValue *b)
105 gboolean ret = FALSE;
106 g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
107 switch (G_VALUE_TYPE (a))
110 ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
113 ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
116 ret = (g_value_get_int (a) == g_value_get_int (b));
119 ret = (g_value_get_uint (a) == g_value_get_uint (b));
122 ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
125 ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
130 gdouble da = g_value_get_double (a);
131 gdouble db = g_value_get_double (b);
132 ret = memcmp (&da, &db,
sizeof (gdouble)) == 0;
136 ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
139 ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
142 if (G_VALUE_TYPE (a) == G_TYPE_STRV)
143 ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
145 g_critical (
"_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
166 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_connect_IN_ARG_sourceID =
170 (gchar *)
"sourceID",
177 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_connect_IN_ARG_sinkID =
188 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_connect_IN_ARG_pointers[] =
190 &_audiomanager_commandinterface_method_info_connect_IN_ARG_sourceID,
191 &_audiomanager_commandinterface_method_info_connect_IN_ARG_sinkID,
195 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_connect_OUT_ARG_result =
206 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_connect_OUT_ARG_mainConnectionID =
210 (gchar *)
"mainConnectionID",
217 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_connect_OUT_ARG_pointers[] =
219 &_audiomanager_commandinterface_method_info_connect_OUT_ARG_result,
220 &_audiomanager_commandinterface_method_info_connect_OUT_ARG_mainConnectionID,
229 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_connect_IN_ARG_pointers,
230 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_connect_OUT_ARG_pointers,
237 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_disconnect_IN_ARG_mainConnectionID =
241 (gchar *)
"mainConnectionID",
248 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_disconnect_IN_ARG_pointers[] =
250 &_audiomanager_commandinterface_method_info_disconnect_IN_ARG_mainConnectionID,
254 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_disconnect_OUT_ARG_result =
265 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_disconnect_OUT_ARG_pointers[] =
267 &_audiomanager_commandinterface_method_info_disconnect_OUT_ARG_result,
275 (gchar *)
"Disconnect",
276 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_disconnect_IN_ARG_pointers,
277 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_disconnect_OUT_ARG_pointers,
284 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_set_volume_IN_ARG_sinkID =
295 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_set_volume_IN_ARG_volume =
306 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_set_volume_IN_ARG_pointers[] =
308 &_audiomanager_commandinterface_method_info_set_volume_IN_ARG_sinkID,
309 &_audiomanager_commandinterface_method_info_set_volume_IN_ARG_volume,
313 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_set_volume_OUT_ARG_result =
324 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_set_volume_OUT_ARG_pointers[] =
326 &_audiomanager_commandinterface_method_info_set_volume_OUT_ARG_result,
334 (gchar *)
"SetVolume",
335 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_set_volume_IN_ARG_pointers,
336 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_set_volume_OUT_ARG_pointers,
343 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_volume_step_IN_ARG_sinkID =
354 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_volume_step_IN_ARG_volumeStep =
358 (gchar *)
"volumeStep",
365 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_volume_step_IN_ARG_pointers[] =
367 &_audiomanager_commandinterface_method_info_volume_step_IN_ARG_sinkID,
368 &_audiomanager_commandinterface_method_info_volume_step_IN_ARG_volumeStep,
372 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_volume_step_OUT_ARG_result =
383 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_volume_step_OUT_ARG_pointers[] =
385 &_audiomanager_commandinterface_method_info_volume_step_OUT_ARG_result,
393 (gchar *)
"VolumeStep",
394 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_volume_step_IN_ARG_pointers,
395 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_volume_step_OUT_ARG_pointers,
398 "handle-volume-step",
402 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_set_sink_mute_state_IN_ARG_sinkID =
413 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_set_sink_mute_state_IN_ARG_muteState =
417 (gchar *)
"muteState",
424 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_set_sink_mute_state_IN_ARG_pointers[] =
426 &_audiomanager_commandinterface_method_info_set_sink_mute_state_IN_ARG_sinkID,
427 &_audiomanager_commandinterface_method_info_set_sink_mute_state_IN_ARG_muteState,
431 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_set_sink_mute_state_OUT_ARG_result =
442 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_set_sink_mute_state_OUT_ARG_pointers[] =
444 &_audiomanager_commandinterface_method_info_set_sink_mute_state_OUT_ARG_result,
452 (gchar *)
"SetSinkMuteState",
453 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_set_sink_mute_state_IN_ARG_pointers,
454 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_set_sink_mute_state_OUT_ARG_pointers,
457 "handle-set-sink-mute-state",
461 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_get_list_main_connections_OUT_ARG_result =
472 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_get_list_main_connections_OUT_ARG_listConnections =
476 (gchar *)
"listConnections",
477 (gchar *)
"a(qqqnn)",
483 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_get_list_main_connections_OUT_ARG_pointers[] =
485 &_audiomanager_commandinterface_method_info_get_list_main_connections_OUT_ARG_result,
486 &_audiomanager_commandinterface_method_info_get_list_main_connections_OUT_ARG_listConnections,
494 (gchar *)
"GetListMainConnections",
496 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_get_list_main_connections_OUT_ARG_pointers,
499 "handle-get-list-main-connections",
503 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_get_list_main_sinks_OUT_ARG_result =
514 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_method_info_get_list_main_sinks_OUT_ARG_listMainSinks =
518 (gchar *)
"listMainSinks",
519 (gchar *)
"a(qs(nn)nnq)",
525 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_method_info_get_list_main_sinks_OUT_ARG_pointers[] =
527 &_audiomanager_commandinterface_method_info_get_list_main_sinks_OUT_ARG_result,
528 &_audiomanager_commandinterface_method_info_get_list_main_sinks_OUT_ARG_listMainSinks,
536 (gchar *)
"GetListMainSinks",
538 (GDBusArgInfo **) &_audiomanager_commandinterface_method_info_get_list_main_sinks_OUT_ARG_pointers,
541 "handle-get-list-main-sinks",
547 &_audiomanager_commandinterface_method_info_connect,
548 &_audiomanager_commandinterface_method_info_disconnect,
549 &_audiomanager_commandinterface_method_info_set_volume,
550 &_audiomanager_commandinterface_method_info_volume_step,
551 &_audiomanager_commandinterface_method_info_set_sink_mute_state,
552 &_audiomanager_commandinterface_method_info_get_list_main_connections,
553 &_audiomanager_commandinterface_method_info_get_list_main_sinks,
557 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_signal_info_new_main_connection_ARG_mainConnection =
561 (gchar *)
"mainConnection",
568 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_signal_info_new_main_connection_ARG_pointers[] =
570 &_audiomanager_commandinterface_signal_info_new_main_connection_ARG_mainConnection,
578 (gchar *)
"NewMainConnection",
579 (GDBusArgInfo **) &_audiomanager_commandinterface_signal_info_new_main_connection_ARG_pointers,
582 "new-main-connection" 585 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_signal_info_removed_main_connection_ARG_mainConnectionId =
589 (gchar *)
"mainConnectionId",
596 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_signal_info_removed_main_connection_ARG_pointers[] =
598 &_audiomanager_commandinterface_signal_info_removed_main_connection_ARG_mainConnectionId,
606 (gchar *)
"RemovedMainConnection",
607 (GDBusArgInfo **) &_audiomanager_commandinterface_signal_info_removed_main_connection_ARG_pointers,
610 "removed-main-connection" 613 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_signal_info_main_connection_state_changed_ARG_connectionID =
617 (gchar *)
"connectionID",
624 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_signal_info_main_connection_state_changed_ARG_connectionState =
628 (gchar *)
"connectionState",
635 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_signal_info_main_connection_state_changed_ARG_pointers[] =
637 &_audiomanager_commandinterface_signal_info_main_connection_state_changed_ARG_connectionID,
638 &_audiomanager_commandinterface_signal_info_main_connection_state_changed_ARG_connectionState,
646 (gchar *)
"MainConnectionStateChanged",
647 (GDBusArgInfo **) &_audiomanager_commandinterface_signal_info_main_connection_state_changed_ARG_pointers,
650 "main-connection-state-changed" 653 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_signal_info_volume_changed_ARG_sinkID =
664 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_signal_info_volume_changed_ARG_volume =
675 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_signal_info_volume_changed_ARG_pointers[] =
677 &_audiomanager_commandinterface_signal_info_volume_changed_ARG_sinkID,
678 &_audiomanager_commandinterface_signal_info_volume_changed_ARG_volume,
686 (gchar *)
"VolumeChanged",
687 (GDBusArgInfo **) &_audiomanager_commandinterface_signal_info_volume_changed_ARG_pointers,
693 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_signal_info_sink_mute_state_changed_ARG_sinkID =
704 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_signal_info_sink_mute_state_changed_ARG_muteState =
708 (gchar *)
"muteState",
715 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_signal_info_sink_mute_state_changed_ARG_pointers[] =
717 &_audiomanager_commandinterface_signal_info_sink_mute_state_changed_ARG_sinkID,
718 &_audiomanager_commandinterface_signal_info_sink_mute_state_changed_ARG_muteState,
726 (gchar *)
"SinkMuteStateChanged",
727 (GDBusArgInfo **) &_audiomanager_commandinterface_signal_info_sink_mute_state_changed_ARG_pointers,
730 "sink-mute-state-changed" 733 static const _ExtendedGDBusArgInfo _audiomanager_commandinterface_signal_info_system_property_changed_ARG_SystemProperty =
737 (gchar *)
"SystemProperty",
744 static const _ExtendedGDBusArgInfo *
const _audiomanager_commandinterface_signal_info_system_property_changed_ARG_pointers[] =
746 &_audiomanager_commandinterface_signal_info_system_property_changed_ARG_SystemProperty,
754 (gchar *)
"SystemPropertyChanged",
755 (GDBusArgInfo **) &_audiomanager_commandinterface_signal_info_system_property_changed_ARG_pointers,
758 "system-property-changed" 763 &_audiomanager_commandinterface_signal_info_new_main_connection,
764 &_audiomanager_commandinterface_signal_info_removed_main_connection,
765 &_audiomanager_commandinterface_signal_info_main_connection_state_changed,
766 &_audiomanager_commandinterface_signal_info_volume_changed,
767 &_audiomanager_commandinterface_signal_info_sink_mute_state_changed,
768 &_audiomanager_commandinterface_signal_info_system_property_changed,
776 (gchar *)
"org.genivi.audiomanager.commandinterface",
777 (GDBusMethodInfo **) &_audiomanager_commandinterface_method_info_pointers,
778 (GDBusSignalInfo **) &_audiomanager_commandinterface_signal_info_pointers,
782 "audiomanager-commandinterface",
796 return (GDBusInterfaceInfo *) &_audiomanager_commandinterface_interface_info.
parent_struct;
812 return property_id_begin - 1;
863 g_signal_new (
"handle-connect",
864 G_TYPE_FROM_INTERFACE (iface),
867 g_signal_accumulator_true_handled,
869 g_cclosure_marshal_generic,
872 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT);
886 g_signal_new (
"handle-disconnect",
887 G_TYPE_FROM_INTERFACE (iface),
890 g_signal_accumulator_true_handled,
892 g_cclosure_marshal_generic,
895 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
910 g_signal_new (
"handle-set-volume",
911 G_TYPE_FROM_INTERFACE (iface),
914 g_signal_accumulator_true_handled,
916 g_cclosure_marshal_generic,
919 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_INT);
934 g_signal_new (
"handle-volume-step",
935 G_TYPE_FROM_INTERFACE (iface),
938 g_signal_accumulator_true_handled,
940 g_cclosure_marshal_generic,
943 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_INT);
958 g_signal_new (
"handle-set-sink-mute-state",
959 G_TYPE_FROM_INTERFACE (iface),
962 g_signal_accumulator_true_handled,
964 g_cclosure_marshal_generic,
967 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_INT);
980 g_signal_new (
"handle-get-list-main-connections",
981 G_TYPE_FROM_INTERFACE (iface),
984 g_signal_accumulator_true_handled,
986 g_cclosure_marshal_generic,
989 G_TYPE_DBUS_METHOD_INVOCATION);
1002 g_signal_new (
"handle-get-list-main-sinks",
1003 G_TYPE_FROM_INTERFACE (iface),
1006 g_signal_accumulator_true_handled,
1008 g_cclosure_marshal_generic,
1011 G_TYPE_DBUS_METHOD_INVOCATION);
1023 g_signal_new (
"new-main-connection",
1024 G_TYPE_FROM_INTERFACE (iface),
1029 g_cclosure_marshal_generic,
1042 g_signal_new (
"removed-main-connection",
1043 G_TYPE_FROM_INTERFACE (iface),
1048 g_cclosure_marshal_generic,
1062 g_signal_new (
"main-connection-state-changed",
1063 G_TYPE_FROM_INTERFACE (iface),
1068 g_cclosure_marshal_generic,
1070 2, G_TYPE_UINT, G_TYPE_INT);
1082 g_signal_new (
"volume-changed",
1083 G_TYPE_FROM_INTERFACE (iface),
1088 g_cclosure_marshal_generic,
1090 2, G_TYPE_UINT, G_TYPE_INT);
1102 g_signal_new (
"sink-mute-state-changed",
1103 G_TYPE_FROM_INTERFACE (iface),
1108 g_cclosure_marshal_generic,
1110 2, G_TYPE_UINT, G_TYPE_INT);
1121 g_signal_new (
"system-property-changed",
1122 G_TYPE_FROM_INTERFACE (iface),
1127 g_cclosure_marshal_generic,
1143 GVariant *arg_mainConnection)
1145 g_signal_emit_by_name (
object,
"new-main-connection", arg_mainConnection);
1158 guint16 arg_mainConnectionId)
1160 g_signal_emit_by_name (
object,
"removed-main-connection", arg_mainConnectionId);
1174 guint16 arg_connectionID,
1175 gint16 arg_connectionState)
1177 g_signal_emit_by_name (
object,
"main-connection-state-changed", arg_connectionID, arg_connectionState);
1194 g_signal_emit_by_name (
object,
"volume-changed", arg_sinkID, arg_volume);
1209 gint16 arg_muteState)
1211 g_signal_emit_by_name (
object,
"sink-mute-state-changed", arg_sinkID, arg_muteState);
1224 GVariant *arg_SystemProperty)
1226 g_signal_emit_by_name (
object,
"system-property-changed", arg_SystemProperty);
1247 guint16 arg_sourceID,
1249 GCancellable *cancellable,
1250 GAsyncReadyCallback callback,
1253 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1255 g_variant_new (
"(qq)",
1258 G_DBUS_CALL_FLAGS_NONE,
1281 guint16 *out_mainConnectionID,
1286 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1289 g_variant_get (_ret,
1292 out_mainConnectionID);
1293 g_variant_unref (_ret);
1295 return _ret != NULL;
1317 guint16 arg_sourceID,
1320 guint16 *out_mainConnectionID,
1321 GCancellable *cancellable,
1325 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1327 g_variant_new (
"(qq)",
1330 G_DBUS_CALL_FLAGS_NONE,
1336 g_variant_get (_ret,
1339 out_mainConnectionID);
1340 g_variant_unref (_ret);
1342 return _ret != NULL;
1362 guint16 arg_mainConnectionID,
1363 GCancellable *cancellable,
1364 GAsyncReadyCallback callback,
1367 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1369 g_variant_new (
"(q)",
1370 arg_mainConnectionID),
1371 G_DBUS_CALL_FLAGS_NONE,
1397 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1400 g_variant_get (_ret,
1403 g_variant_unref (_ret);
1405 return _ret != NULL;
1425 guint16 arg_mainConnectionID,
1427 GCancellable *cancellable,
1431 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1433 g_variant_new (
"(q)",
1434 arg_mainConnectionID),
1435 G_DBUS_CALL_FLAGS_NONE,
1441 g_variant_get (_ret,
1444 g_variant_unref (_ret);
1446 return _ret != NULL;
1469 GCancellable *cancellable,
1470 GAsyncReadyCallback callback,
1473 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1475 g_variant_new (
"(qn)",
1478 G_DBUS_CALL_FLAGS_NONE,
1504 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1507 g_variant_get (_ret,
1510 g_variant_unref (_ret);
1512 return _ret != NULL;
1536 GCancellable *cancellable,
1540 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1542 g_variant_new (
"(qn)",
1545 G_DBUS_CALL_FLAGS_NONE,
1551 g_variant_get (_ret,
1554 g_variant_unref (_ret);
1556 return _ret != NULL;
1578 gint16 arg_volumeStep,
1579 GCancellable *cancellable,
1580 GAsyncReadyCallback callback,
1583 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1585 g_variant_new (
"(qn)",
1588 G_DBUS_CALL_FLAGS_NONE,
1614 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1617 g_variant_get (_ret,
1620 g_variant_unref (_ret);
1622 return _ret != NULL;
1644 gint16 arg_volumeStep,
1646 GCancellable *cancellable,
1650 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1652 g_variant_new (
"(qn)",
1655 G_DBUS_CALL_FLAGS_NONE,
1661 g_variant_get (_ret,
1664 g_variant_unref (_ret);
1666 return _ret != NULL;
1688 gint16 arg_muteState,
1689 GCancellable *cancellable,
1690 GAsyncReadyCallback callback,
1693 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1695 g_variant_new (
"(qn)",
1698 G_DBUS_CALL_FLAGS_NONE,
1724 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1727 g_variant_get (_ret,
1730 g_variant_unref (_ret);
1732 return _ret != NULL;
1754 gint16 arg_muteState,
1756 GCancellable *cancellable,
1760 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1762 g_variant_new (
"(qn)",
1765 G_DBUS_CALL_FLAGS_NONE,
1771 g_variant_get (_ret,
1774 g_variant_unref (_ret);
1776 return _ret != NULL;
1795 GCancellable *cancellable,
1796 GAsyncReadyCallback callback,
1799 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1800 "GetListMainConnections",
1801 g_variant_new (
"()"),
1802 G_DBUS_CALL_FLAGS_NONE,
1825 GVariant **out_listConnections,
1830 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1833 g_variant_get (_ret,
1836 out_listConnections);
1837 g_variant_unref (_ret);
1839 return _ret != NULL;
1860 GVariant **out_listConnections,
1861 GCancellable *cancellable,
1865 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1866 "GetListMainConnections",
1867 g_variant_new (
"()"),
1868 G_DBUS_CALL_FLAGS_NONE,
1874 g_variant_get (_ret,
1877 out_listConnections);
1878 g_variant_unref (_ret);
1880 return _ret != NULL;
1899 GCancellable *cancellable,
1900 GAsyncReadyCallback callback,
1903 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1905 g_variant_new (
"()"),
1906 G_DBUS_CALL_FLAGS_NONE,
1929 GVariant **out_listMainSinks,
1934 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1937 g_variant_get (_ret,
1941 g_variant_unref (_ret);
1943 return _ret != NULL;
1964 GVariant **out_listMainSinks,
1965 GCancellable *cancellable,
1969 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1971 g_variant_new (
"()"),
1972 G_DBUS_CALL_FLAGS_NONE,
1978 g_variant_get (_ret,
1982 g_variant_unref (_ret);
1984 return _ret != NULL;
2001 GDBusMethodInvocation *invocation,
2003 guint16 mainConnectionID)
2005 g_dbus_method_invocation_return_value (invocation,
2006 g_variant_new (
"(nq)",
2024 GDBusMethodInvocation *invocation,
2027 g_dbus_method_invocation_return_value (invocation,
2028 g_variant_new (
"(n)",
2045 GDBusMethodInvocation *invocation,
2048 g_dbus_method_invocation_return_value (invocation,
2049 g_variant_new (
"(n)",
2066 GDBusMethodInvocation *invocation,
2069 g_dbus_method_invocation_return_value (invocation,
2070 g_variant_new (
"(n)",
2087 GDBusMethodInvocation *invocation,
2090 g_dbus_method_invocation_return_value (invocation,
2091 g_variant_new (
"(n)",
2109 GDBusMethodInvocation *invocation,
2111 GVariant *listConnections)
2113 g_dbus_method_invocation_return_value (invocation,
2114 g_variant_new (
"(n@a(qqqnn))",
2133 GDBusMethodInvocation *invocation,
2135 GVariant *listMainSinks)
2137 g_dbus_method_invocation_return_value (invocation,
2138 g_variant_new (
"(n@a(qs(nn)nnq))",
2165 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2176 audiomanager_commandinterface_proxy_finalize (GObject *
object)
2180 G_OBJECT_CLASS (audiomanager_commandinterface_proxy_parent_class)->finalize (
object);
2184 audiomanager_commandinterface_proxy_get_property (GObject *
object,
2187 GParamSpec *pspec G_GNUC_UNUSED)
2192 audiomanager_commandinterface_proxy_set_property (GObject *
object,
2194 const GValue *value,
2195 GParamSpec *pspec G_GNUC_UNUSED)
2200 audiomanager_commandinterface_proxy_g_signal (GDBusProxy *proxy,
2201 const gchar *sender_name G_GNUC_UNUSED,
2202 const gchar *signal_name,
2203 GVariant *parameters)
2215 num_params = g_variant_n_children (parameters);
2216 paramv = g_new0 (GValue, num_params + 1);
2218 g_value_set_object (¶mv[0], proxy);
2219 g_variant_iter_init (&iter, parameters);
2221 while ((child = g_variant_iter_next_value (&iter)) != NULL)
2226 g_value_init (¶mv[n], G_TYPE_VARIANT);
2227 g_value_set_variant (¶mv[n], child);
2231 g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
2232 g_variant_unref (child);
2235 g_signal_emitv (paramv, signal_id, 0, NULL);
2236 for (n = 0; n < num_params + 1; n++)
2237 g_value_unset (¶mv[n]);
2242 audiomanager_commandinterface_proxy_g_properties_changed (GDBusProxy *_proxy,
2243 GVariant *changed_properties,
2244 const gchar *
const *invalidated_properties)
2251 g_variant_get (changed_properties,
"a{sv}", &iter);
2252 while (g_variant_iter_next (iter,
"{&sv}", &key, NULL))
2255 g_datalist_remove_data (&proxy->
priv->
qdata, key);
2257 g_object_notify (G_OBJECT (proxy), info->
hyphen_name);
2259 g_variant_iter_free (iter);
2260 for (n = 0; invalidated_properties[n] != NULL; n++)
2263 g_datalist_remove_data (&proxy->
priv->
qdata, invalidated_properties[n]);
2265 g_object_notify (G_OBJECT (proxy), info->
hyphen_name);
2272 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2273 proxy->
priv = audiomanager_commandinterface_proxy_get_instance_private (proxy);
2284 GObjectClass *gobject_class;
2285 GDBusProxyClass *proxy_class;
2287 gobject_class = G_OBJECT_CLASS (klass);
2288 gobject_class->finalize = audiomanager_commandinterface_proxy_finalize;
2289 gobject_class->get_property = audiomanager_commandinterface_proxy_get_property;
2290 gobject_class->set_property = audiomanager_commandinterface_proxy_set_property;
2292 proxy_class = G_DBUS_PROXY_CLASS (klass);
2293 proxy_class->g_signal = audiomanager_commandinterface_proxy_g_signal;
2294 proxy_class->g_properties_changed = audiomanager_commandinterface_proxy_g_properties_changed;
2296 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2325 GDBusConnection *connection,
2326 GDBusProxyFlags flags,
2328 const gchar *object_path,
2329 GCancellable *cancellable,
2330 GAsyncReadyCallback callback,
2333 g_async_initable_new_async (
TYPE_AUDIOMANAGER_COMMANDINTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data,
"g-flags", flags,
"g-name", name,
"g-connection", connection,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.commandinterface", NULL);
2351 GObject *source_object;
2352 source_object = g_async_result_get_source_object (res);
2353 ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
2354 g_object_unref (source_object);
2380 GDBusConnection *connection,
2381 GDBusProxyFlags flags,
2383 const gchar *object_path,
2384 GCancellable *cancellable,
2388 ret = g_initable_new (
TYPE_AUDIOMANAGER_COMMANDINTERFACE_PROXY, cancellable, error,
"g-flags", flags,
"g-name", name,
"g-connection", connection,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.commandinterface", NULL);
2416 GDBusProxyFlags flags,
2418 const gchar *object_path,
2419 GCancellable *cancellable,
2420 GAsyncReadyCallback callback,
2423 g_async_initable_new_async (
TYPE_AUDIOMANAGER_COMMANDINTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data,
"g-flags", flags,
"g-name", name,
"g-bus-type", bus_type,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.commandinterface", NULL);
2441 GObject *source_object;
2442 source_object = g_async_result_get_source_object (res);
2443 ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
2444 g_object_unref (source_object);
2471 GDBusProxyFlags flags,
2473 const gchar *object_path,
2474 GCancellable *cancellable,
2478 ret = g_initable_new (
TYPE_AUDIOMANAGER_COMMANDINTERFACE_PROXY, cancellable, error,
"g-flags", flags,
"g-name", name,
"g-bus-type", bus_type,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.commandinterface", NULL);
2511 _audiomanager_commandinterface_skeleton_handle_method_call (
2512 GDBusConnection *connection G_GNUC_UNUSED,
2513 const gchar *sender G_GNUC_UNUSED,
2514 const gchar *object_path G_GNUC_UNUSED,
2515 const gchar *interface_name,
2516 const gchar *method_name,
2517 GVariant *parameters,
2518 GDBusMethodInvocation *invocation,
2530 GValue return_value = G_VALUE_INIT;
2532 g_assert (info != NULL);
2533 num_params = g_variant_n_children (parameters);
2534 num_extra = info->
pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
2537 g_value_set_object (¶mv[n++], skeleton);
2538 g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
2539 g_value_set_object (¶mv[n++], invocation);
2543 g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
2544 g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
2546 g_assert_not_reached ();
2549 g_variant_iter_init (&iter, parameters);
2550 while ((child = g_variant_iter_next_value (&iter)) != NULL)
2555 g_value_init (¶mv[n], G_TYPE_VARIANT);
2556 g_value_set_variant (¶mv[n], child);
2560 g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
2561 g_variant_unref (child);
2564 g_value_init (&return_value, G_TYPE_BOOLEAN);
2565 g_signal_emitv (paramv, signal_id, 0, &return_value);
2566 if (!g_value_get_boolean (&return_value))
2567 g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD,
"Method %s is not implemented on interface %s", method_name, interface_name);
2568 g_value_unset (&return_value);
2569 for (n = 0; n < num_params + num_extra; n++)
2570 g_value_unset (¶mv[n]);
2575 _audiomanager_commandinterface_skeleton_handle_get_property (
2576 GDBusConnection *connection G_GNUC_UNUSED,
2577 const gchar *sender G_GNUC_UNUSED,
2578 const gchar *object_path G_GNUC_UNUSED,
2579 const gchar *interface_name G_GNUC_UNUSED,
2580 const gchar *property_name,
2585 GValue value = G_VALUE_INIT;
2591 g_assert (info != NULL);
2592 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->
hyphen_name);
2595 g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS,
"No property with name %s", property_name);
2599 g_value_init (&value, pspec->value_type);
2600 g_object_get_property (G_OBJECT (skeleton), info->
hyphen_name, &value);
2601 ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->
parent_struct.signature));
2602 g_value_unset (&value);
2608 _audiomanager_commandinterface_skeleton_handle_set_property (
2609 GDBusConnection *connection G_GNUC_UNUSED,
2610 const gchar *sender G_GNUC_UNUSED,
2611 const gchar *object_path G_GNUC_UNUSED,
2612 const gchar *interface_name G_GNUC_UNUSED,
2613 const gchar *property_name,
2619 GValue value = G_VALUE_INIT;
2625 g_assert (info != NULL);
2626 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->
hyphen_name);
2629 g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS,
"No property with name %s", property_name);
2634 g_value_set_variant (&value, variant);
2636 g_dbus_gvariant_to_gvalue (variant, &value);
2637 g_object_set_property (G_OBJECT (skeleton), info->
hyphen_name, &value);
2638 g_value_unset (&value);
2644 static const GDBusInterfaceVTable _audiomanager_commandinterface_skeleton_vtable =
2646 _audiomanager_commandinterface_skeleton_handle_method_call,
2647 _audiomanager_commandinterface_skeleton_handle_get_property,
2648 _audiomanager_commandinterface_skeleton_handle_set_property,
2652 static GDBusInterfaceInfo *
2653 audiomanager_commandinterface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
2658 static GDBusInterfaceVTable *
2659 audiomanager_commandinterface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
2661 return (GDBusInterfaceVTable *) &_audiomanager_commandinterface_skeleton_vtable;
2665 audiomanager_commandinterface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
2669 GVariantBuilder builder;
2671 g_variant_builder_init (&builder, G_VARIANT_TYPE (
"a{sv}"));
2672 if (_audiomanager_commandinterface_interface_info.
parent_struct.properties == NULL)
2674 for (n = 0; _audiomanager_commandinterface_interface_info.
parent_struct.properties[n] != NULL; n++)
2676 GDBusPropertyInfo *info = _audiomanager_commandinterface_interface_info.
parent_struct.properties[n];
2677 if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
2680 value = _audiomanager_commandinterface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.commandinterface", info->name, NULL, skeleton);
2683 g_variant_take_ref (value);
2684 g_variant_builder_add (&builder,
"{sv}", info->name, value);
2685 g_variant_unref (value);
2690 return g_variant_builder_end (&builder);
2694 audiomanager_commandinterface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
2699 _audiomanager_commandinterface_on_signal_new_main_connection (
2701 GVariant *arg_mainConnection)
2705 GList *connections, *l;
2706 GVariant *signal_variant;
2707 connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
2709 signal_variant = g_variant_ref_sink (g_variant_new (
"(@(qqqnn))",
2710 arg_mainConnection));
2711 for (l = connections; l != NULL; l = l->next)
2713 GDBusConnection *connection = l->data;
2714 g_dbus_connection_emit_signal (connection,
2715 NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.commandinterface",
"NewMainConnection",
2716 signal_variant, NULL);
2718 g_variant_unref (signal_variant);
2719 g_list_free_full (connections, g_object_unref);
2723 _audiomanager_commandinterface_on_signal_removed_main_connection (
2725 guint16 arg_mainConnectionId)
2729 GList *connections, *l;
2730 GVariant *signal_variant;
2731 connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
2733 signal_variant = g_variant_ref_sink (g_variant_new (
"(q)",
2734 arg_mainConnectionId));
2735 for (l = connections; l != NULL; l = l->next)
2737 GDBusConnection *connection = l->data;
2738 g_dbus_connection_emit_signal (connection,
2739 NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.commandinterface",
"RemovedMainConnection",
2740 signal_variant, NULL);
2742 g_variant_unref (signal_variant);
2743 g_list_free_full (connections, g_object_unref);
2747 _audiomanager_commandinterface_on_signal_main_connection_state_changed (
2749 guint16 arg_connectionID,
2750 gint16 arg_connectionState)
2754 GList *connections, *l;
2755 GVariant *signal_variant;
2756 connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
2758 signal_variant = g_variant_ref_sink (g_variant_new (
"(qn)",
2760 arg_connectionState));
2761 for (l = connections; l != NULL; l = l->next)
2763 GDBusConnection *connection = l->data;
2764 g_dbus_connection_emit_signal (connection,
2765 NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.commandinterface",
"MainConnectionStateChanged",
2766 signal_variant, NULL);
2768 g_variant_unref (signal_variant);
2769 g_list_free_full (connections, g_object_unref);
2773 _audiomanager_commandinterface_on_signal_volume_changed (
2780 GList *connections, *l;
2781 GVariant *signal_variant;
2782 connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
2784 signal_variant = g_variant_ref_sink (g_variant_new (
"(qn)",
2787 for (l = connections; l != NULL; l = l->next)
2789 GDBusConnection *connection = l->data;
2790 g_dbus_connection_emit_signal (connection,
2791 NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.commandinterface",
"VolumeChanged",
2792 signal_variant, NULL);
2794 g_variant_unref (signal_variant);
2795 g_list_free_full (connections, g_object_unref);
2799 _audiomanager_commandinterface_on_signal_sink_mute_state_changed (
2802 gint16 arg_muteState)
2806 GList *connections, *l;
2807 GVariant *signal_variant;
2808 connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
2810 signal_variant = g_variant_ref_sink (g_variant_new (
"(qn)",
2813 for (l = connections; l != NULL; l = l->next)
2815 GDBusConnection *connection = l->data;
2816 g_dbus_connection_emit_signal (connection,
2817 NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.commandinterface",
"SinkMuteStateChanged",
2818 signal_variant, NULL);
2820 g_variant_unref (signal_variant);
2821 g_list_free_full (connections, g_object_unref);
2825 _audiomanager_commandinterface_on_signal_system_property_changed (
2827 GVariant *arg_SystemProperty)
2831 GList *connections, *l;
2832 GVariant *signal_variant;
2833 connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
2835 signal_variant = g_variant_ref_sink (g_variant_new (
"(@(nn))",
2836 arg_SystemProperty));
2837 for (l = connections; l != NULL; l = l->next)
2839 GDBusConnection *connection = l->data;
2840 g_dbus_connection_emit_signal (connection,
2841 NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.commandinterface",
"SystemPropertyChanged",
2842 signal_variant, NULL);
2844 g_variant_unref (signal_variant);
2845 g_list_free_full (connections, g_object_unref);
2849 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2860 audiomanager_commandinterface_skeleton_finalize (GObject *
object)
2867 g_mutex_clear (&skeleton->
priv->
lock);
2868 G_OBJECT_CLASS (audiomanager_commandinterface_skeleton_parent_class)->finalize (
object);
2874 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2875 skeleton->
priv = audiomanager_commandinterface_skeleton_get_instance_private (skeleton);
2880 g_mutex_init (&skeleton->
priv->
lock);
2881 skeleton->
priv->
context = g_main_context_ref_thread_default ();
2887 GObjectClass *gobject_class;
2888 GDBusInterfaceSkeletonClass *skeleton_class;
2890 gobject_class = G_OBJECT_CLASS (klass);
2891 gobject_class->finalize = audiomanager_commandinterface_skeleton_finalize;
2893 skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
2894 skeleton_class->get_info = audiomanager_commandinterface_skeleton_dbus_interface_get_info;
2895 skeleton_class->get_properties = audiomanager_commandinterface_skeleton_dbus_interface_get_properties;
2896 skeleton_class->flush = audiomanager_commandinterface_skeleton_dbus_interface_flush;
2897 skeleton_class->get_vtable = audiomanager_commandinterface_skeleton_dbus_interface_get_vtable;
2899 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2907 iface->
new_main_connection = _audiomanager_commandinterface_on_signal_new_main_connection;
2910 iface->
volume_changed = _audiomanager_commandinterface_on_signal_volume_changed;
2943 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_connect_IN_ARG_handle =
2954 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_connect_IN_ARG_connectionID =
2958 (gchar *)
"connectionID",
2965 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_connect_IN_ARG_error =
2976 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_ack_connect_IN_ARG_pointers[] =
2978 &_audiomanager_routinginterface_method_info_ack_connect_IN_ARG_handle,
2979 &_audiomanager_routinginterface_method_info_ack_connect_IN_ARG_connectionID,
2980 &_audiomanager_routinginterface_method_info_ack_connect_IN_ARG_error,
2988 (gchar *)
"ackConnect",
2989 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_ack_connect_IN_ARG_pointers,
2993 "handle-ack-connect",
2997 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_disconnect_IN_ARG_handle =
3008 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_disconnect_IN_ARG_connectionID =
3012 (gchar *)
"connectionID",
3019 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_disconnect_IN_ARG_error =
3030 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_ack_disconnect_IN_ARG_pointers[] =
3032 &_audiomanager_routinginterface_method_info_ack_disconnect_IN_ARG_handle,
3033 &_audiomanager_routinginterface_method_info_ack_disconnect_IN_ARG_connectionID,
3034 &_audiomanager_routinginterface_method_info_ack_disconnect_IN_ARG_error,
3042 (gchar *)
"ackDisconnect",
3043 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_ack_disconnect_IN_ARG_pointers,
3047 "handle-ack-disconnect",
3051 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_set_source_state_IN_ARG_handle =
3062 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_set_source_state_IN_ARG_error =
3073 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_ack_set_source_state_IN_ARG_pointers[] =
3075 &_audiomanager_routinginterface_method_info_ack_set_source_state_IN_ARG_handle,
3076 &_audiomanager_routinginterface_method_info_ack_set_source_state_IN_ARG_error,
3084 (gchar *)
"ackSetSourceState",
3085 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_ack_set_source_state_IN_ARG_pointers,
3089 "handle-ack-set-source-state",
3093 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_set_sink_volume_IN_ARG_handle =
3104 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_set_sink_volume_IN_ARG_volume =
3115 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_set_sink_volume_IN_ARG_error =
3126 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_ack_set_sink_volume_IN_ARG_pointers[] =
3128 &_audiomanager_routinginterface_method_info_ack_set_sink_volume_IN_ARG_handle,
3129 &_audiomanager_routinginterface_method_info_ack_set_sink_volume_IN_ARG_volume,
3130 &_audiomanager_routinginterface_method_info_ack_set_sink_volume_IN_ARG_error,
3138 (gchar *)
"ackSetSinkVolume",
3139 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_ack_set_sink_volume_IN_ARG_pointers,
3143 "handle-ack-set-sink-volume",
3147 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_sink_IN_ARG_sinkData =
3151 (gchar *)
"sinkData",
3152 (gchar *)
"(qsqinb(ii)nna(in)aia(in)a(iin)a(iin))",
3158 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_register_sink_IN_ARG_pointers[] =
3160 &_audiomanager_routinginterface_method_info_register_sink_IN_ARG_sinkData,
3164 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_sink_OUT_ARG_sinkID =
3175 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_sink_OUT_ARG_error =
3186 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_register_sink_OUT_ARG_pointers[] =
3188 &_audiomanager_routinginterface_method_info_register_sink_OUT_ARG_sinkID,
3189 &_audiomanager_routinginterface_method_info_register_sink_OUT_ARG_error,
3197 (gchar *)
"registerSink",
3198 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_register_sink_IN_ARG_pointers,
3199 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_register_sink_OUT_ARG_pointers,
3202 "handle-register-sink",
3206 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_deregister_sink_IN_ARG_sinkID =
3217 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_deregister_sink_IN_ARG_pointers[] =
3219 &_audiomanager_routinginterface_method_info_deregister_sink_IN_ARG_sinkID,
3223 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_deregister_sink_OUT_ARG_error =
3234 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_deregister_sink_OUT_ARG_pointers[] =
3236 &_audiomanager_routinginterface_method_info_deregister_sink_OUT_ARG_error,
3244 (gchar *)
"deregisterSink",
3245 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_deregister_sink_IN_ARG_pointers,
3246 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_deregister_sink_OUT_ARG_pointers,
3249 "handle-deregister-sink",
3253 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_source_IN_ARG_sourceData =
3257 (gchar *)
"sourceData",
3258 (gchar *)
"(qqsqinb(ii)qa(in)aia(in)a(iin)a(iin))",
3264 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_register_source_IN_ARG_pointers[] =
3266 &_audiomanager_routinginterface_method_info_register_source_IN_ARG_sourceData,
3270 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_source_OUT_ARG_sourceID =
3274 (gchar *)
"sourceID",
3281 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_source_OUT_ARG_error =
3292 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_register_source_OUT_ARG_pointers[] =
3294 &_audiomanager_routinginterface_method_info_register_source_OUT_ARG_sourceID,
3295 &_audiomanager_routinginterface_method_info_register_source_OUT_ARG_error,
3303 (gchar *)
"registerSource",
3304 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_register_source_IN_ARG_pointers,
3305 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_register_source_OUT_ARG_pointers,
3308 "handle-register-source",
3312 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_deregister_source_IN_ARG_sourceID =
3316 (gchar *)
"sourceID",
3323 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_deregister_source_IN_ARG_pointers[] =
3325 &_audiomanager_routinginterface_method_info_deregister_source_IN_ARG_sourceID,
3329 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_deregister_source_OUT_ARG_error =
3340 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_deregister_source_OUT_ARG_pointers[] =
3342 &_audiomanager_routinginterface_method_info_deregister_source_OUT_ARG_error,
3350 (gchar *)
"deregisterSource",
3351 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_deregister_source_IN_ARG_pointers,
3352 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_deregister_source_OUT_ARG_pointers,
3355 "handle-deregister-source",
3359 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_hook_interrupt_status_change_IN_ARG_sourceID =
3363 (gchar *)
"sourceID",
3370 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_hook_interrupt_status_change_IN_ARG_interruptState =
3374 (gchar *)
"interruptState",
3381 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_hook_interrupt_status_change_IN_ARG_pointers[] =
3383 &_audiomanager_routinginterface_method_info_hook_interrupt_status_change_IN_ARG_sourceID,
3384 &_audiomanager_routinginterface_method_info_hook_interrupt_status_change_IN_ARG_interruptState,
3392 (gchar *)
"hookInterruptStatusChange",
3393 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_hook_interrupt_status_change_IN_ARG_pointers,
3397 "handle-hook-interrupt-status-change",
3401 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_hook_source_availablity_status_change_IN_ARG_sourceID =
3405 (gchar *)
"sourceID",
3412 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_hook_source_availablity_status_change_IN_ARG_availability =
3416 (gchar *)
"availability",
3423 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_hook_source_availablity_status_change_IN_ARG_pointers[] =
3425 &_audiomanager_routinginterface_method_info_hook_source_availablity_status_change_IN_ARG_sourceID,
3426 &_audiomanager_routinginterface_method_info_hook_source_availablity_status_change_IN_ARG_availability,
3430 static const _ExtendedGDBusMethodInfo _audiomanager_routinginterface_method_info_hook_source_availablity_status_change =
3434 (gchar *)
"hookSourceAvailablityStatusChange",
3435 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_hook_source_availablity_status_change_IN_ARG_pointers,
3439 "handle-hook-source-availablity-status-change",
3443 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_confirm_routing_ready_IN_ARG_domainID =
3447 (gchar *)
"domainID",
3454 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_confirm_routing_ready_IN_ARG_pointers[] =
3456 &_audiomanager_routinginterface_method_info_confirm_routing_ready_IN_ARG_domainID,
3464 (gchar *)
"confirmRoutingReady",
3465 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_confirm_routing_ready_IN_ARG_pointers,
3469 "handle-confirm-routing-ready",
3473 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_confirm_routing_rundown_IN_ARG_domainID =
3477 (gchar *)
"domainID",
3484 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_confirm_routing_rundown_IN_ARG_pointers[] =
3486 &_audiomanager_routinginterface_method_info_confirm_routing_rundown_IN_ARG_domainID,
3494 (gchar *)
"confirmRoutingRundown",
3495 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_confirm_routing_rundown_IN_ARG_pointers,
3499 "handle-confirm-routing-rundown",
3503 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_set_volumes_IN_ARG_handle =
3514 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_set_volumes_IN_ARG_listvolumes =
3518 (gchar *)
"listvolumes",
3519 (gchar *)
"a(nqqnq)",
3525 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_set_volumes_IN_ARG_error =
3536 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_ack_set_volumes_IN_ARG_pointers[] =
3538 &_audiomanager_routinginterface_method_info_ack_set_volumes_IN_ARG_handle,
3539 &_audiomanager_routinginterface_method_info_ack_set_volumes_IN_ARG_listvolumes,
3540 &_audiomanager_routinginterface_method_info_ack_set_volumes_IN_ARG_error,
3548 (gchar *)
"ackSetVolumes",
3549 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_ack_set_volumes_IN_ARG_pointers,
3553 "handle-ack-set-volumes",
3557 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_sink_notification_configuration_IN_ARG_handle =
3568 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_sink_notification_configuration_IN_ARG_error =
3579 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_ack_sink_notification_configuration_IN_ARG_pointers[] =
3581 &_audiomanager_routinginterface_method_info_ack_sink_notification_configuration_IN_ARG_handle,
3582 &_audiomanager_routinginterface_method_info_ack_sink_notification_configuration_IN_ARG_error,
3586 static const _ExtendedGDBusMethodInfo _audiomanager_routinginterface_method_info_ack_sink_notification_configuration =
3590 (gchar *)
"ackSinkNotificationConfiguration",
3591 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_ack_sink_notification_configuration_IN_ARG_pointers,
3595 "handle-ack-sink-notification-configuration",
3599 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_source_notification_configuration_IN_ARG_handle =
3610 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_ack_source_notification_configuration_IN_ARG_error =
3621 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_ack_source_notification_configuration_IN_ARG_pointers[] =
3623 &_audiomanager_routinginterface_method_info_ack_source_notification_configuration_IN_ARG_handle,
3624 &_audiomanager_routinginterface_method_info_ack_source_notification_configuration_IN_ARG_error,
3628 static const _ExtendedGDBusMethodInfo _audiomanager_routinginterface_method_info_ack_source_notification_configuration =
3632 (gchar *)
"ackSourceNotificationConfiguration",
3633 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_ack_source_notification_configuration_IN_ARG_pointers,
3637 "handle-ack-source-notification-configuration",
3641 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_domain_IN_ARG_domaindata =
3645 (gchar *)
"domaindata",
3646 (gchar *)
"(qsssbbn)",
3652 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_domain_IN_ARG_returnBusname =
3656 (gchar *)
"returnBusname",
3663 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_domain_IN_ARG_returnPath =
3667 (gchar *)
"returnPath",
3674 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_domain_IN_ARG_returnInterface =
3678 (gchar *)
"returnInterface",
3685 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_register_domain_IN_ARG_pointers[] =
3687 &_audiomanager_routinginterface_method_info_register_domain_IN_ARG_domaindata,
3688 &_audiomanager_routinginterface_method_info_register_domain_IN_ARG_returnBusname,
3689 &_audiomanager_routinginterface_method_info_register_domain_IN_ARG_returnPath,
3690 &_audiomanager_routinginterface_method_info_register_domain_IN_ARG_returnInterface,
3694 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_domain_OUT_ARG_domainid =
3698 (gchar *)
"domainid",
3705 static const _ExtendedGDBusArgInfo _audiomanager_routinginterface_method_info_register_domain_OUT_ARG_error =
3716 static const _ExtendedGDBusArgInfo *
const _audiomanager_routinginterface_method_info_register_domain_OUT_ARG_pointers[] =
3718 &_audiomanager_routinginterface_method_info_register_domain_OUT_ARG_domainid,
3719 &_audiomanager_routinginterface_method_info_register_domain_OUT_ARG_error,
3727 (gchar *)
"registerDomain",
3728 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_register_domain_IN_ARG_pointers,
3729 (GDBusArgInfo **) &_audiomanager_routinginterface_method_info_register_domain_OUT_ARG_pointers,
3732 "handle-register-domain",
3738 &_audiomanager_routinginterface_method_info_ack_connect,
3739 &_audiomanager_routinginterface_method_info_ack_disconnect,
3740 &_audiomanager_routinginterface_method_info_ack_set_source_state,
3741 &_audiomanager_routinginterface_method_info_ack_set_sink_volume,
3742 &_audiomanager_routinginterface_method_info_register_sink,
3743 &_audiomanager_routinginterface_method_info_deregister_sink,
3744 &_audiomanager_routinginterface_method_info_register_source,
3745 &_audiomanager_routinginterface_method_info_deregister_source,
3746 &_audiomanager_routinginterface_method_info_hook_interrupt_status_change,
3747 &_audiomanager_routinginterface_method_info_hook_source_availablity_status_change,
3748 &_audiomanager_routinginterface_method_info_confirm_routing_ready,
3749 &_audiomanager_routinginterface_method_info_confirm_routing_rundown,
3750 &_audiomanager_routinginterface_method_info_ack_set_volumes,
3751 &_audiomanager_routinginterface_method_info_ack_sink_notification_configuration,
3752 &_audiomanager_routinginterface_method_info_ack_source_notification_configuration,
3753 &_audiomanager_routinginterface_method_info_register_domain,
3761 (gchar *)
"setRoutingReady",
3772 (gchar *)
"setRoutingRundown",
3776 "set-routing-rundown" 3781 &_audiomanager_routinginterface_signal_info_set_routing_ready,
3782 &_audiomanager_routinginterface_signal_info_set_routing_rundown,
3790 (gchar *)
"org.genivi.audiomanager.routinginterface",
3791 (GDBusMethodInfo **) &_audiomanager_routinginterface_method_info_pointers,
3792 (GDBusSignalInfo **) &_audiomanager_routinginterface_signal_info_pointers,
3796 "audiomanager-routinginterface",
3807 GDBusInterfaceInfo *
3810 return (GDBusInterfaceInfo *) &_audiomanager_routinginterface_interface_info.
parent_struct;
3826 return property_id_begin - 1;
3883 g_signal_new (
"handle-ack-connect",
3884 G_TYPE_FROM_INTERFACE (iface),
3887 g_signal_accumulator_true_handled,
3889 g_cclosure_marshal_generic,
3892 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT);
3908 g_signal_new (
"handle-ack-disconnect",
3909 G_TYPE_FROM_INTERFACE (iface),
3912 g_signal_accumulator_true_handled,
3914 g_cclosure_marshal_generic,
3917 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT);
3932 g_signal_new (
"handle-ack-set-source-state",
3933 G_TYPE_FROM_INTERFACE (iface),
3936 g_signal_accumulator_true_handled,
3938 g_cclosure_marshal_generic,
3941 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT);
3957 g_signal_new (
"handle-ack-set-sink-volume",
3958 G_TYPE_FROM_INTERFACE (iface),
3961 g_signal_accumulator_true_handled,
3963 g_cclosure_marshal_generic,
3966 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT);
3980 g_signal_new (
"handle-register-sink",
3981 G_TYPE_FROM_INTERFACE (iface),
3984 g_signal_accumulator_true_handled,
3986 g_cclosure_marshal_generic,
3989 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
4003 g_signal_new (
"handle-deregister-sink",
4004 G_TYPE_FROM_INTERFACE (iface),
4007 g_signal_accumulator_true_handled,
4009 g_cclosure_marshal_generic,
4012 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
4026 g_signal_new (
"handle-register-source",
4027 G_TYPE_FROM_INTERFACE (iface),
4030 g_signal_accumulator_true_handled,
4032 g_cclosure_marshal_generic,
4035 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
4049 g_signal_new (
"handle-deregister-source",
4050 G_TYPE_FROM_INTERFACE (iface),
4053 g_signal_accumulator_true_handled,
4055 g_cclosure_marshal_generic,
4058 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
4073 g_signal_new (
"handle-hook-interrupt-status-change",
4074 G_TYPE_FROM_INTERFACE (iface),
4077 g_signal_accumulator_true_handled,
4079 g_cclosure_marshal_generic,
4082 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT);
4097 g_signal_new (
"handle-hook-source-availablity-status-change",
4098 G_TYPE_FROM_INTERFACE (iface),
4101 g_signal_accumulator_true_handled,
4103 g_cclosure_marshal_generic,
4106 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_VARIANT);
4120 g_signal_new (
"handle-confirm-routing-ready",
4121 G_TYPE_FROM_INTERFACE (iface),
4124 g_signal_accumulator_true_handled,
4126 g_cclosure_marshal_generic,
4129 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
4143 g_signal_new (
"handle-confirm-routing-rundown",
4144 G_TYPE_FROM_INTERFACE (iface),
4147 g_signal_accumulator_true_handled,
4149 g_cclosure_marshal_generic,
4152 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
4168 g_signal_new (
"handle-ack-set-volumes",
4169 G_TYPE_FROM_INTERFACE (iface),
4172 g_signal_accumulator_true_handled,
4174 g_cclosure_marshal_generic,
4177 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_VARIANT, G_TYPE_UINT);
4192 g_signal_new (
"handle-ack-sink-notification-configuration",
4193 G_TYPE_FROM_INTERFACE (iface),
4196 g_signal_accumulator_true_handled,
4198 g_cclosure_marshal_generic,
4201 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT);
4216 g_signal_new (
"handle-ack-source-notification-configuration",
4217 G_TYPE_FROM_INTERFACE (iface),
4220 g_signal_accumulator_true_handled,
4222 g_cclosure_marshal_generic,
4225 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT);
4242 g_signal_new (
"handle-register-domain",
4243 G_TYPE_FROM_INTERFACE (iface),
4246 g_signal_accumulator_true_handled,
4248 g_cclosure_marshal_generic,
4251 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
4262 g_signal_new (
"set-routing-ready",
4263 G_TYPE_FROM_INTERFACE (iface),
4268 g_cclosure_marshal_generic,
4280 g_signal_new (
"set-routing-rundown",
4281 G_TYPE_FROM_INTERFACE (iface),
4286 g_cclosure_marshal_generic,
4302 g_signal_emit_by_name (
object,
"set-routing-ready");
4315 g_signal_emit_by_name (
object,
"set-routing-rundown");
4338 guint16 arg_connectionID,
4340 GCancellable *cancellable,
4341 GAsyncReadyCallback callback,
4344 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
4346 g_variant_new (
"(qqq)",
4350 G_DBUS_CALL_FLAGS_NONE,
4374 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
4377 g_variant_get (_ret,
4379 g_variant_unref (_ret);
4381 return _ret != NULL;
4403 guint16 arg_connectionID,
4405 GCancellable *cancellable,
4409 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
4411 g_variant_new (
"(qqq)",
4415 G_DBUS_CALL_FLAGS_NONE,
4421 g_variant_get (_ret,
4423 g_variant_unref (_ret);
4425 return _ret != NULL;
4448 guint16 arg_connectionID,
4450 GCancellable *cancellable,
4451 GAsyncReadyCallback callback,
4454 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
4456 g_variant_new (
"(qqq)",
4460 G_DBUS_CALL_FLAGS_NONE,
4484 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
4487 g_variant_get (_ret,
4489 g_variant_unref (_ret);
4491 return _ret != NULL;
4513 guint16 arg_connectionID,
4515 GCancellable *cancellable,
4519 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
4521 g_variant_new (
"(qqq)",
4525 G_DBUS_CALL_FLAGS_NONE,
4531 g_variant_get (_ret,
4533 g_variant_unref (_ret);
4535 return _ret != NULL;
4558 GCancellable *cancellable,
4559 GAsyncReadyCallback callback,
4562 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
4563 "ackSetSourceState",
4564 g_variant_new (
"(qq)",
4567 G_DBUS_CALL_FLAGS_NONE,
4591 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
4594 g_variant_get (_ret,
4596 g_variant_unref (_ret);
4598 return _ret != NULL;
4620 GCancellable *cancellable,
4624 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
4625 "ackSetSourceState",
4626 g_variant_new (
"(qq)",
4629 G_DBUS_CALL_FLAGS_NONE,
4635 g_variant_get (_ret,
4637 g_variant_unref (_ret);
4639 return _ret != NULL;
4664 GCancellable *cancellable,
4665 GAsyncReadyCallback callback,
4668 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
4670 g_variant_new (
"(qnq)",
4674 G_DBUS_CALL_FLAGS_NONE,
4698 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
4701 g_variant_get (_ret,
4703 g_variant_unref (_ret);
4705 return _ret != NULL;
4729 GCancellable *cancellable,
4733 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
4735 g_variant_new (
"(qnq)",
4739 G_DBUS_CALL_FLAGS_NONE,
4745 g_variant_get (_ret,
4747 g_variant_unref (_ret);
4749 return _ret != NULL;
4769 GVariant *arg_sinkData,
4770 GCancellable *cancellable,
4771 GAsyncReadyCallback callback,
4774 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
4776 g_variant_new (
"(@(qsqinb(ii)nna(in)aia(in)a(iin)a(iin)))",
4778 G_DBUS_CALL_FLAGS_NONE,
4800 guint16 *out_sinkID,
4806 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
4809 g_variant_get (_ret,
4813 g_variant_unref (_ret);
4815 return _ret != NULL;
4836 GVariant *arg_sinkData,
4837 guint16 *out_sinkID,
4839 GCancellable *cancellable,
4843 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
4845 g_variant_new (
"(@(qsqinb(ii)nna(in)aia(in)a(iin)a(iin)))",
4847 G_DBUS_CALL_FLAGS_NONE,
4853 g_variant_get (_ret,
4857 g_variant_unref (_ret);
4859 return _ret != NULL;
4880 GCancellable *cancellable,
4881 GAsyncReadyCallback callback,
4884 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
4886 g_variant_new (
"(q)",
4888 G_DBUS_CALL_FLAGS_NONE,
4914 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
4917 g_variant_get (_ret,
4920 g_variant_unref (_ret);
4922 return _ret != NULL;
4944 GCancellable *cancellable,
4948 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
4950 g_variant_new (
"(q)",
4952 G_DBUS_CALL_FLAGS_NONE,
4958 g_variant_get (_ret,
4961 g_variant_unref (_ret);
4963 return _ret != NULL;
4983 GVariant *arg_sourceData,
4984 GCancellable *cancellable,
4985 GAsyncReadyCallback callback,
4988 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
4990 g_variant_new (
"(@(qqsqinb(ii)qa(in)aia(in)a(iin)a(iin)))",
4992 G_DBUS_CALL_FLAGS_NONE,
5014 guint16 *out_sourceID,
5020 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
5023 g_variant_get (_ret,
5027 g_variant_unref (_ret);
5029 return _ret != NULL;
5050 GVariant *arg_sourceData,
5051 guint16 *out_sourceID,
5053 GCancellable *cancellable,
5057 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
5059 g_variant_new (
"(@(qqsqinb(ii)qa(in)aia(in)a(iin)a(iin)))",
5061 G_DBUS_CALL_FLAGS_NONE,
5067 g_variant_get (_ret,
5071 g_variant_unref (_ret);
5073 return _ret != NULL;
5093 guint16 arg_sourceID,
5094 GCancellable *cancellable,
5095 GAsyncReadyCallback callback,
5098 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
5100 g_variant_new (
"(q)",
5102 G_DBUS_CALL_FLAGS_NONE,
5128 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
5131 g_variant_get (_ret,
5134 g_variant_unref (_ret);
5136 return _ret != NULL;
5156 guint16 arg_sourceID,
5158 GCancellable *cancellable,
5162 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
5164 g_variant_new (
"(q)",
5166 G_DBUS_CALL_FLAGS_NONE,
5172 g_variant_get (_ret,
5175 g_variant_unref (_ret);
5177 return _ret != NULL;
5198 guint16 arg_sourceID,
5199 guint16 arg_interruptState,
5200 GCancellable *cancellable,
5201 GAsyncReadyCallback callback,
5204 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
5205 "hookInterruptStatusChange",
5206 g_variant_new (
"(qq)",
5208 arg_interruptState),
5209 G_DBUS_CALL_FLAGS_NONE,
5233 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
5236 g_variant_get (_ret,
5238 g_variant_unref (_ret);
5240 return _ret != NULL;
5260 guint16 arg_sourceID,
5261 guint16 arg_interruptState,
5262 GCancellable *cancellable,
5266 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
5267 "hookInterruptStatusChange",
5268 g_variant_new (
"(qq)",
5270 arg_interruptState),
5271 G_DBUS_CALL_FLAGS_NONE,
5277 g_variant_get (_ret,
5279 g_variant_unref (_ret);
5281 return _ret != NULL;
5302 guint16 arg_sourceID,
5303 GVariant *arg_availability,
5304 GCancellable *cancellable,
5305 GAsyncReadyCallback callback,
5308 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
5309 "hookSourceAvailablityStatusChange",
5310 g_variant_new (
"(q@(nn))",
5313 G_DBUS_CALL_FLAGS_NONE,
5337 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
5340 g_variant_get (_ret,
5342 g_variant_unref (_ret);
5344 return _ret != NULL;
5364 guint16 arg_sourceID,
5365 GVariant *arg_availability,
5366 GCancellable *cancellable,
5370 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
5371 "hookSourceAvailablityStatusChange",
5372 g_variant_new (
"(q@(nn))",
5375 G_DBUS_CALL_FLAGS_NONE,
5381 g_variant_get (_ret,
5383 g_variant_unref (_ret);
5385 return _ret != NULL;
5405 guint16 arg_domainID,
5406 GCancellable *cancellable,
5407 GAsyncReadyCallback callback,
5410 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
5411 "confirmRoutingReady",
5412 g_variant_new (
"(q)",
5414 G_DBUS_CALL_FLAGS_NONE,
5438 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
5441 g_variant_get (_ret,
5443 g_variant_unref (_ret);
5445 return _ret != NULL;
5464 guint16 arg_domainID,
5465 GCancellable *cancellable,
5469 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
5470 "confirmRoutingReady",
5471 g_variant_new (
"(q)",
5473 G_DBUS_CALL_FLAGS_NONE,
5479 g_variant_get (_ret,
5481 g_variant_unref (_ret);
5483 return _ret != NULL;
5503 guint16 arg_domainID,
5504 GCancellable *cancellable,
5505 GAsyncReadyCallback callback,
5508 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
5509 "confirmRoutingRundown",
5510 g_variant_new (
"(q)",
5512 G_DBUS_CALL_FLAGS_NONE,
5536 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
5539 g_variant_get (_ret,
5541 g_variant_unref (_ret);
5543 return _ret != NULL;
5562 guint16 arg_domainID,
5563 GCancellable *cancellable,
5567 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
5568 "confirmRoutingRundown",
5569 g_variant_new (
"(q)",
5571 G_DBUS_CALL_FLAGS_NONE,
5577 g_variant_get (_ret,
5579 g_variant_unref (_ret);
5581 return _ret != NULL;
5604 GVariant *arg_listvolumes,
5606 GCancellable *cancellable,
5607 GAsyncReadyCallback callback,
5610 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
5612 g_variant_new (
"(q@a(nqqnq)q)",
5616 G_DBUS_CALL_FLAGS_NONE,
5640 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
5643 g_variant_get (_ret,
5645 g_variant_unref (_ret);
5647 return _ret != NULL;
5669 GVariant *arg_listvolumes,
5671 GCancellable *cancellable,
5675 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
5677 g_variant_new (
"(q@a(nqqnq)q)",
5681 G_DBUS_CALL_FLAGS_NONE,
5687 g_variant_get (_ret,
5689 g_variant_unref (_ret);
5691 return _ret != NULL;
5714 GCancellable *cancellable,
5715 GAsyncReadyCallback callback,
5718 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
5719 "ackSinkNotificationConfiguration",
5720 g_variant_new (
"(qq)",
5723 G_DBUS_CALL_FLAGS_NONE,
5747 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
5750 g_variant_get (_ret,
5752 g_variant_unref (_ret);
5754 return _ret != NULL;
5776 GCancellable *cancellable,
5780 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
5781 "ackSinkNotificationConfiguration",
5782 g_variant_new (
"(qq)",
5785 G_DBUS_CALL_FLAGS_NONE,
5791 g_variant_get (_ret,
5793 g_variant_unref (_ret);
5795 return _ret != NULL;
5818 GCancellable *cancellable,
5819 GAsyncReadyCallback callback,
5822 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
5823 "ackSourceNotificationConfiguration",
5824 g_variant_new (
"(qq)",
5827 G_DBUS_CALL_FLAGS_NONE,
5851 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
5854 g_variant_get (_ret,
5856 g_variant_unref (_ret);
5858 return _ret != NULL;
5880 GCancellable *cancellable,
5884 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
5885 "ackSourceNotificationConfiguration",
5886 g_variant_new (
"(qq)",
5889 G_DBUS_CALL_FLAGS_NONE,
5895 g_variant_get (_ret,
5897 g_variant_unref (_ret);
5899 return _ret != NULL;
5922 GVariant *arg_domaindata,
5923 const gchar *arg_returnBusname,
5924 const gchar *arg_returnPath,
5925 const gchar *arg_returnInterface,
5926 GCancellable *cancellable,
5927 GAsyncReadyCallback callback,
5930 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
5932 g_variant_new (
"(@(qsssbbn)sss)",
5936 arg_returnInterface),
5937 G_DBUS_CALL_FLAGS_NONE,
5959 guint16 *out_domainid,
5965 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
5968 g_variant_get (_ret,
5972 g_variant_unref (_ret);
5974 return _ret != NULL;
5998 GVariant *arg_domaindata,
5999 const gchar *arg_returnBusname,
6000 const gchar *arg_returnPath,
6001 const gchar *arg_returnInterface,
6002 guint16 *out_domainid,
6004 GCancellable *cancellable,
6008 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
6010 g_variant_new (
"(@(qsssbbn)sss)",
6014 arg_returnInterface),
6015 G_DBUS_CALL_FLAGS_NONE,
6021 g_variant_get (_ret,
6025 g_variant_unref (_ret);
6027 return _ret != NULL;
6042 GDBusMethodInvocation *invocation)
6044 g_dbus_method_invocation_return_value (invocation,
6045 g_variant_new (
"()"));
6060 GDBusMethodInvocation *invocation)
6062 g_dbus_method_invocation_return_value (invocation,
6063 g_variant_new (
"()"));
6078 GDBusMethodInvocation *invocation)
6080 g_dbus_method_invocation_return_value (invocation,
6081 g_variant_new (
"()"));
6096 GDBusMethodInvocation *invocation)
6098 g_dbus_method_invocation_return_value (invocation,
6099 g_variant_new (
"()"));
6116 GDBusMethodInvocation *invocation,
6120 g_dbus_method_invocation_return_value (invocation,
6121 g_variant_new (
"(qq)",
6139 GDBusMethodInvocation *invocation,
6142 g_dbus_method_invocation_return_value (invocation,
6143 g_variant_new (
"(i)",
6161 GDBusMethodInvocation *invocation,
6165 g_dbus_method_invocation_return_value (invocation,
6166 g_variant_new (
"(qq)",
6184 GDBusMethodInvocation *invocation,
6187 g_dbus_method_invocation_return_value (invocation,
6188 g_variant_new (
"(q)",
6204 GDBusMethodInvocation *invocation)
6206 g_dbus_method_invocation_return_value (invocation,
6207 g_variant_new (
"()"));
6222 GDBusMethodInvocation *invocation)
6224 g_dbus_method_invocation_return_value (invocation,
6225 g_variant_new (
"()"));
6240 GDBusMethodInvocation *invocation)
6242 g_dbus_method_invocation_return_value (invocation,
6243 g_variant_new (
"()"));
6258 GDBusMethodInvocation *invocation)
6260 g_dbus_method_invocation_return_value (invocation,
6261 g_variant_new (
"()"));
6276 GDBusMethodInvocation *invocation)
6278 g_dbus_method_invocation_return_value (invocation,
6279 g_variant_new (
"()"));
6294 GDBusMethodInvocation *invocation)
6296 g_dbus_method_invocation_return_value (invocation,
6297 g_variant_new (
"()"));
6312 GDBusMethodInvocation *invocation)
6314 g_dbus_method_invocation_return_value (invocation,
6315 g_variant_new (
"()"));
6332 GDBusMethodInvocation *invocation,
6336 g_dbus_method_invocation_return_value (invocation,
6337 g_variant_new (
"(qq)",
6364 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 6375 audiomanager_routinginterface_proxy_finalize (GObject *
object)
6379 G_OBJECT_CLASS (audiomanager_routinginterface_proxy_parent_class)->finalize (
object);
6383 audiomanager_routinginterface_proxy_get_property (GObject *
object,
6386 GParamSpec *pspec G_GNUC_UNUSED)
6391 audiomanager_routinginterface_proxy_set_property (GObject *
object,
6393 const GValue *value,
6394 GParamSpec *pspec G_GNUC_UNUSED)
6399 audiomanager_routinginterface_proxy_g_signal (GDBusProxy *proxy,
6400 const gchar *sender_name G_GNUC_UNUSED,
6401 const gchar *signal_name,
6402 GVariant *parameters)
6414 num_params = g_variant_n_children (parameters);
6415 paramv = g_new0 (GValue, num_params + 1);
6417 g_value_set_object (¶mv[0], proxy);
6418 g_variant_iter_init (&iter, parameters);
6420 while ((child = g_variant_iter_next_value (&iter)) != NULL)
6425 g_value_init (¶mv[n], G_TYPE_VARIANT);
6426 g_value_set_variant (¶mv[n], child);
6430 g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
6431 g_variant_unref (child);
6434 g_signal_emitv (paramv, signal_id, 0, NULL);
6435 for (n = 0; n < num_params + 1; n++)
6436 g_value_unset (¶mv[n]);
6441 audiomanager_routinginterface_proxy_g_properties_changed (GDBusProxy *_proxy,
6442 GVariant *changed_properties,
6443 const gchar *
const *invalidated_properties)
6450 g_variant_get (changed_properties,
"a{sv}", &iter);
6451 while (g_variant_iter_next (iter,
"{&sv}", &key, NULL))
6454 g_datalist_remove_data (&proxy->
priv->
qdata, key);
6456 g_object_notify (G_OBJECT (proxy), info->
hyphen_name);
6458 g_variant_iter_free (iter);
6459 for (n = 0; invalidated_properties[n] != NULL; n++)
6462 g_datalist_remove_data (&proxy->
priv->
qdata, invalidated_properties[n]);
6464 g_object_notify (G_OBJECT (proxy), info->
hyphen_name);
6471 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 6472 proxy->
priv = audiomanager_routinginterface_proxy_get_instance_private (proxy);
6483 GObjectClass *gobject_class;
6484 GDBusProxyClass *proxy_class;
6486 gobject_class = G_OBJECT_CLASS (klass);
6487 gobject_class->finalize = audiomanager_routinginterface_proxy_finalize;
6488 gobject_class->get_property = audiomanager_routinginterface_proxy_get_property;
6489 gobject_class->set_property = audiomanager_routinginterface_proxy_set_property;
6491 proxy_class = G_DBUS_PROXY_CLASS (klass);
6492 proxy_class->g_signal = audiomanager_routinginterface_proxy_g_signal;
6493 proxy_class->g_properties_changed = audiomanager_routinginterface_proxy_g_properties_changed;
6495 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 6524 GDBusConnection *connection,
6525 GDBusProxyFlags flags,
6527 const gchar *object_path,
6528 GCancellable *cancellable,
6529 GAsyncReadyCallback callback,
6532 g_async_initable_new_async (
TYPE_AUDIOMANAGER_ROUTINGINTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data,
"g-flags", flags,
"g-name", name,
"g-connection", connection,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.routinginterface", NULL);
6550 GObject *source_object;
6551 source_object = g_async_result_get_source_object (res);
6552 ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
6553 g_object_unref (source_object);
6579 GDBusConnection *connection,
6580 GDBusProxyFlags flags,
6582 const gchar *object_path,
6583 GCancellable *cancellable,
6587 ret = g_initable_new (
TYPE_AUDIOMANAGER_ROUTINGINTERFACE_PROXY, cancellable, error,
"g-flags", flags,
"g-name", name,
"g-connection", connection,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.routinginterface", NULL);
6615 GDBusProxyFlags flags,
6617 const gchar *object_path,
6618 GCancellable *cancellable,
6619 GAsyncReadyCallback callback,
6622 g_async_initable_new_async (
TYPE_AUDIOMANAGER_ROUTINGINTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data,
"g-flags", flags,
"g-name", name,
"g-bus-type", bus_type,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.routinginterface", NULL);
6640 GObject *source_object;
6641 source_object = g_async_result_get_source_object (res);
6642 ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
6643 g_object_unref (source_object);
6670 GDBusProxyFlags flags,
6672 const gchar *object_path,
6673 GCancellable *cancellable,
6677 ret = g_initable_new (
TYPE_AUDIOMANAGER_ROUTINGINTERFACE_PROXY, cancellable, error,
"g-flags", flags,
"g-name", name,
"g-bus-type", bus_type,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.routinginterface", NULL);
6710 _audiomanager_routinginterface_skeleton_handle_method_call (
6711 GDBusConnection *connection G_GNUC_UNUSED,
6712 const gchar *sender G_GNUC_UNUSED,
6713 const gchar *object_path G_GNUC_UNUSED,
6714 const gchar *interface_name,
6715 const gchar *method_name,
6716 GVariant *parameters,
6717 GDBusMethodInvocation *invocation,
6729 GValue return_value = G_VALUE_INIT;
6731 g_assert (info != NULL);
6732 num_params = g_variant_n_children (parameters);
6733 num_extra = info->
pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
6736 g_value_set_object (¶mv[n++], skeleton);
6737 g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
6738 g_value_set_object (¶mv[n++], invocation);
6742 g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
6743 g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
6745 g_assert_not_reached ();
6748 g_variant_iter_init (&iter, parameters);
6749 while ((child = g_variant_iter_next_value (&iter)) != NULL)
6754 g_value_init (¶mv[n], G_TYPE_VARIANT);
6755 g_value_set_variant (¶mv[n], child);
6759 g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
6760 g_variant_unref (child);
6763 g_value_init (&return_value, G_TYPE_BOOLEAN);
6764 g_signal_emitv (paramv, signal_id, 0, &return_value);
6765 if (!g_value_get_boolean (&return_value))
6766 g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD,
"Method %s is not implemented on interface %s", method_name, interface_name);
6767 g_value_unset (&return_value);
6768 for (n = 0; n < num_params + num_extra; n++)
6769 g_value_unset (¶mv[n]);
6774 _audiomanager_routinginterface_skeleton_handle_get_property (
6775 GDBusConnection *connection G_GNUC_UNUSED,
6776 const gchar *sender G_GNUC_UNUSED,
6777 const gchar *object_path G_GNUC_UNUSED,
6778 const gchar *interface_name G_GNUC_UNUSED,
6779 const gchar *property_name,
6784 GValue value = G_VALUE_INIT;
6790 g_assert (info != NULL);
6791 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->
hyphen_name);
6794 g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS,
"No property with name %s", property_name);
6798 g_value_init (&value, pspec->value_type);
6799 g_object_get_property (G_OBJECT (skeleton), info->
hyphen_name, &value);
6800 ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->
parent_struct.signature));
6801 g_value_unset (&value);
6807 _audiomanager_routinginterface_skeleton_handle_set_property (
6808 GDBusConnection *connection G_GNUC_UNUSED,
6809 const gchar *sender G_GNUC_UNUSED,
6810 const gchar *object_path G_GNUC_UNUSED,
6811 const gchar *interface_name G_GNUC_UNUSED,
6812 const gchar *property_name,
6818 GValue value = G_VALUE_INIT;
6824 g_assert (info != NULL);
6825 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->
hyphen_name);
6828 g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS,
"No property with name %s", property_name);
6833 g_value_set_variant (&value, variant);
6835 g_dbus_gvariant_to_gvalue (variant, &value);
6836 g_object_set_property (G_OBJECT (skeleton), info->
hyphen_name, &value);
6837 g_value_unset (&value);
6843 static const GDBusInterfaceVTable _audiomanager_routinginterface_skeleton_vtable =
6845 _audiomanager_routinginterface_skeleton_handle_method_call,
6846 _audiomanager_routinginterface_skeleton_handle_get_property,
6847 _audiomanager_routinginterface_skeleton_handle_set_property,
6851 static GDBusInterfaceInfo *
6852 audiomanager_routinginterface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
6857 static GDBusInterfaceVTable *
6858 audiomanager_routinginterface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
6860 return (GDBusInterfaceVTable *) &_audiomanager_routinginterface_skeleton_vtable;
6864 audiomanager_routinginterface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
6868 GVariantBuilder builder;
6870 g_variant_builder_init (&builder, G_VARIANT_TYPE (
"a{sv}"));
6871 if (_audiomanager_routinginterface_interface_info.
parent_struct.properties == NULL)
6873 for (n = 0; _audiomanager_routinginterface_interface_info.
parent_struct.properties[n] != NULL; n++)
6875 GDBusPropertyInfo *info = _audiomanager_routinginterface_interface_info.
parent_struct.properties[n];
6876 if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
6879 value = _audiomanager_routinginterface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.routinginterface", info->name, NULL, skeleton);
6882 g_variant_take_ref (value);
6883 g_variant_builder_add (&builder,
"{sv}", info->name, value);
6884 g_variant_unref (value);
6889 return g_variant_builder_end (&builder);
6893 audiomanager_routinginterface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
6898 _audiomanager_routinginterface_on_signal_set_routing_ready (
6903 GList *connections, *l;
6904 GVariant *signal_variant;
6905 connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
6907 signal_variant = g_variant_ref_sink (g_variant_new (
"()"));
6908 for (l = connections; l != NULL; l = l->next)
6910 GDBusConnection *connection = l->data;
6911 g_dbus_connection_emit_signal (connection,
6912 NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.routinginterface",
"setRoutingReady",
6913 signal_variant, NULL);
6915 g_variant_unref (signal_variant);
6916 g_list_free_full (connections, g_object_unref);
6920 _audiomanager_routinginterface_on_signal_set_routing_rundown (
6925 GList *connections, *l;
6926 GVariant *signal_variant;
6927 connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
6929 signal_variant = g_variant_ref_sink (g_variant_new (
"()"));
6930 for (l = connections; l != NULL; l = l->next)
6932 GDBusConnection *connection = l->data;
6933 g_dbus_connection_emit_signal (connection,
6934 NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.routinginterface",
"setRoutingRundown",
6935 signal_variant, NULL);
6937 g_variant_unref (signal_variant);
6938 g_list_free_full (connections, g_object_unref);
6942 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 6953 audiomanager_routinginterface_skeleton_finalize (GObject *
object)
6960 g_mutex_clear (&skeleton->
priv->
lock);
6961 G_OBJECT_CLASS (audiomanager_routinginterface_skeleton_parent_class)->finalize (
object);
6967 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 6968 skeleton->
priv = audiomanager_routinginterface_skeleton_get_instance_private (skeleton);
6973 g_mutex_init (&skeleton->
priv->
lock);
6974 skeleton->
priv->
context = g_main_context_ref_thread_default ();
6980 GObjectClass *gobject_class;
6981 GDBusInterfaceSkeletonClass *skeleton_class;
6983 gobject_class = G_OBJECT_CLASS (klass);
6984 gobject_class->finalize = audiomanager_routinginterface_skeleton_finalize;
6986 skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
6987 skeleton_class->get_info = audiomanager_routinginterface_skeleton_dbus_interface_get_info;
6988 skeleton_class->get_properties = audiomanager_routinginterface_skeleton_dbus_interface_get_properties;
6989 skeleton_class->flush = audiomanager_routinginterface_skeleton_dbus_interface_flush;
6990 skeleton_class->get_vtable = audiomanager_routinginterface_skeleton_dbus_interface_get_vtable;
6992 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 7000 iface->
set_routing_ready = _audiomanager_routinginterface_on_signal_set_routing_ready;
7001 iface->
set_routing_rundown = _audiomanager_routinginterface_on_signal_set_routing_rundown;
7032 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_abort_IN_ARG_handle =
7043 static const _ExtendedGDBusArgInfo *
const _audiomanager_routing_soundmanager_method_info_async_abort_IN_ARG_pointers[] =
7045 &_audiomanager_routing_soundmanager_method_info_async_abort_IN_ARG_handle,
7049 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_abort_OUT_ARG_error =
7060 static const _ExtendedGDBusArgInfo *
const _audiomanager_routing_soundmanager_method_info_async_abort_OUT_ARG_pointers[] =
7062 &_audiomanager_routing_soundmanager_method_info_async_abort_OUT_ARG_error,
7070 (gchar *)
"asyncAbort",
7071 (GDBusArgInfo **) &_audiomanager_routing_soundmanager_method_info_async_abort_IN_ARG_pointers,
7072 (GDBusArgInfo **) &_audiomanager_routing_soundmanager_method_info_async_abort_OUT_ARG_pointers,
7075 "handle-async-abort",
7079 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_handle =
7090 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_connectionID =
7094 (gchar *)
"connectionID",
7101 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_sourceID =
7105 (gchar *)
"sourceID",
7112 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_sinkID =
7123 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_connectionFormat =
7127 (gchar *)
"connectionFormat",
7134 static const _ExtendedGDBusArgInfo *
const _audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_pointers[] =
7136 &_audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_handle,
7137 &_audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_connectionID,
7138 &_audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_sourceID,
7139 &_audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_sinkID,
7140 &_audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_connectionFormat,
7148 (gchar *)
"asyncConnect",
7149 (GDBusArgInfo **) &_audiomanager_routing_soundmanager_method_info_async_connect_IN_ARG_pointers,
7153 "handle-async-connect",
7157 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_disconnect_IN_ARG_handle =
7168 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_disconnect_IN_ARG_connectionID =
7172 (gchar *)
"connectionID",
7179 static const _ExtendedGDBusArgInfo *
const _audiomanager_routing_soundmanager_method_info_async_disconnect_IN_ARG_pointers[] =
7181 &_audiomanager_routing_soundmanager_method_info_async_disconnect_IN_ARG_handle,
7182 &_audiomanager_routing_soundmanager_method_info_async_disconnect_IN_ARG_connectionID,
7190 (gchar *)
"asyncDisconnect",
7191 (GDBusArgInfo **) &_audiomanager_routing_soundmanager_method_info_async_disconnect_IN_ARG_pointers,
7195 "handle-async-disconnect",
7199 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_handle =
7210 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_sinkID =
7221 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_volume =
7232 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_ramp =
7243 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_time =
7254 static const _ExtendedGDBusArgInfo *
const _audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_pointers[] =
7256 &_audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_handle,
7257 &_audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_sinkID,
7258 &_audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_volume,
7259 &_audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_ramp,
7260 &_audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_time,
7268 (gchar *)
"asyncSetSinkVolume",
7269 (GDBusArgInfo **) &_audiomanager_routing_soundmanager_method_info_async_set_sink_volume_IN_ARG_pointers,
7273 "handle-async-set-sink-volume",
7277 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_set_source_state_IN_ARG_handle =
7288 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_set_source_state_IN_ARG_sourceID =
7292 (gchar *)
"sourceID",
7299 static const _ExtendedGDBusArgInfo _audiomanager_routing_soundmanager_method_info_async_set_source_state_IN_ARG_sourceState =
7303 (gchar *)
"sourceState",
7310 static const _ExtendedGDBusArgInfo *
const _audiomanager_routing_soundmanager_method_info_async_set_source_state_IN_ARG_pointers[] =
7312 &_audiomanager_routing_soundmanager_method_info_async_set_source_state_IN_ARG_handle,
7313 &_audiomanager_routing_soundmanager_method_info_async_set_source_state_IN_ARG_sourceID,
7314 &_audiomanager_routing_soundmanager_method_info_async_set_source_state_IN_ARG_sourceState,
7322 (gchar *)
"asyncSetSourceState",
7323 (GDBusArgInfo **) &_audiomanager_routing_soundmanager_method_info_async_set_source_state_IN_ARG_pointers,
7327 "handle-async-set-source-state",
7333 &_audiomanager_routing_soundmanager_method_info_async_abort,
7334 &_audiomanager_routing_soundmanager_method_info_async_connect,
7335 &_audiomanager_routing_soundmanager_method_info_async_disconnect,
7336 &_audiomanager_routing_soundmanager_method_info_async_set_sink_volume,
7337 &_audiomanager_routing_soundmanager_method_info_async_set_source_state,
7345 (gchar *)
"org.genivi.audiomanager.routing.soundmanager",
7346 (GDBusMethodInfo **) &_audiomanager_routing_soundmanager_method_info_pointers,
7351 "audiomanager-routing-soundmanager",
7362 GDBusInterfaceInfo *
7365 return (GDBusInterfaceInfo *) &_audiomanager_routing_soundmanager_interface_info.
parent_struct;
7381 return property_id_begin - 1;
7423 g_signal_new (
"handle-async-abort",
7424 G_TYPE_FROM_INTERFACE (iface),
7427 g_signal_accumulator_true_handled,
7429 g_cclosure_marshal_generic,
7432 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
7450 g_signal_new (
"handle-async-connect",
7451 G_TYPE_FROM_INTERFACE (iface),
7454 g_signal_accumulator_true_handled,
7456 g_cclosure_marshal_generic,
7459 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INT);
7474 g_signal_new (
"handle-async-disconnect",
7475 G_TYPE_FROM_INTERFACE (iface),
7478 g_signal_accumulator_true_handled,
7480 g_cclosure_marshal_generic,
7483 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT);
7501 g_signal_new (
"handle-async-set-sink-volume",
7502 G_TYPE_FROM_INTERFACE (iface),
7505 g_signal_accumulator_true_handled,
7507 g_cclosure_marshal_generic,
7510 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_INT, G_TYPE_UINT);
7526 g_signal_new (
"handle-async-set-source-state",
7527 G_TYPE_FROM_INTERFACE (iface),
7530 g_signal_accumulator_true_handled,
7532 g_cclosure_marshal_generic,
7535 G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INT);
7557 GCancellable *cancellable,
7558 GAsyncReadyCallback callback,
7561 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
7563 g_variant_new (
"(q)",
7565 G_DBUS_CALL_FLAGS_NONE,
7591 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
7594 g_variant_get (_ret,
7597 g_variant_unref (_ret);
7599 return _ret != NULL;
7621 GCancellable *cancellable,
7625 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
7627 g_variant_new (
"(q)",
7629 G_DBUS_CALL_FLAGS_NONE,
7635 g_variant_get (_ret,
7638 g_variant_unref (_ret);
7640 return _ret != NULL;
7665 guint16 arg_connectionID,
7666 guint16 arg_sourceID,
7668 gint arg_connectionFormat,
7669 GCancellable *cancellable,
7670 GAsyncReadyCallback callback,
7673 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
7675 g_variant_new (
"(qqqqi)",
7680 arg_connectionFormat),
7681 G_DBUS_CALL_FLAGS_NONE,
7705 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
7708 g_variant_get (_ret,
7710 g_variant_unref (_ret);
7712 return _ret != NULL;
7736 guint16 arg_connectionID,
7737 guint16 arg_sourceID,
7739 gint arg_connectionFormat,
7740 GCancellable *cancellable,
7744 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
7746 g_variant_new (
"(qqqqi)",
7751 arg_connectionFormat),
7752 G_DBUS_CALL_FLAGS_NONE,
7758 g_variant_get (_ret,
7760 g_variant_unref (_ret);
7762 return _ret != NULL;
7784 guint16 arg_connectionID,
7785 GCancellable *cancellable,
7786 GAsyncReadyCallback callback,
7789 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
7791 g_variant_new (
"(qq)",
7794 G_DBUS_CALL_FLAGS_NONE,
7818 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
7821 g_variant_get (_ret,
7823 g_variant_unref (_ret);
7825 return _ret != NULL;
7846 guint16 arg_connectionID,
7847 GCancellable *cancellable,
7851 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
7853 g_variant_new (
"(qq)",
7856 G_DBUS_CALL_FLAGS_NONE,
7862 g_variant_get (_ret,
7864 g_variant_unref (_ret);
7866 return _ret != NULL;
7895 GCancellable *cancellable,
7896 GAsyncReadyCallback callback,
7899 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
7900 "asyncSetSinkVolume",
7901 g_variant_new (
"(qqnnq)",
7907 G_DBUS_CALL_FLAGS_NONE,
7931 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
7934 g_variant_get (_ret,
7936 g_variant_unref (_ret);
7938 return _ret != NULL;
7966 GCancellable *cancellable,
7970 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
7971 "asyncSetSinkVolume",
7972 g_variant_new (
"(qqnnq)",
7978 G_DBUS_CALL_FLAGS_NONE,
7984 g_variant_get (_ret,
7986 g_variant_unref (_ret);
7988 return _ret != NULL;
8011 guint16 arg_sourceID,
8012 gint arg_sourceState,
8013 GCancellable *cancellable,
8014 GAsyncReadyCallback callback,
8017 g_dbus_proxy_call (G_DBUS_PROXY (proxy),
8018 "asyncSetSourceState",
8019 g_variant_new (
"(qqi)",
8023 G_DBUS_CALL_FLAGS_NONE,
8047 _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
8050 g_variant_get (_ret,
8052 g_variant_unref (_ret);
8054 return _ret != NULL;
8076 guint16 arg_sourceID,
8077 gint arg_sourceState,
8078 GCancellable *cancellable,
8082 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
8083 "asyncSetSourceState",
8084 g_variant_new (
"(qqi)",
8088 G_DBUS_CALL_FLAGS_NONE,
8094 g_variant_get (_ret,
8096 g_variant_unref (_ret);
8098 return _ret != NULL;
8114 GDBusMethodInvocation *invocation,
8117 g_dbus_method_invocation_return_value (invocation,
8118 g_variant_new (
"(n)",
8134 GDBusMethodInvocation *invocation)
8136 g_dbus_method_invocation_return_value (invocation,
8137 g_variant_new (
"()"));
8152 GDBusMethodInvocation *invocation)
8154 g_dbus_method_invocation_return_value (invocation,
8155 g_variant_new (
"()"));
8170 GDBusMethodInvocation *invocation)
8172 g_dbus_method_invocation_return_value (invocation,
8173 g_variant_new (
"()"));
8188 GDBusMethodInvocation *invocation)
8190 g_dbus_method_invocation_return_value (invocation,
8191 g_variant_new (
"()"));
8216 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 8227 audiomanager_routing_soundmanager_proxy_finalize (GObject *
object)
8231 G_OBJECT_CLASS (audiomanager_routing_soundmanager_proxy_parent_class)->finalize (
object);
8235 audiomanager_routing_soundmanager_proxy_get_property (GObject *
object,
8238 GParamSpec *pspec G_GNUC_UNUSED)
8243 audiomanager_routing_soundmanager_proxy_set_property (GObject *
object,
8245 const GValue *value,
8246 GParamSpec *pspec G_GNUC_UNUSED)
8251 audiomanager_routing_soundmanager_proxy_g_signal (GDBusProxy *proxy,
8252 const gchar *sender_name G_GNUC_UNUSED,
8253 const gchar *signal_name,
8254 GVariant *parameters)
8266 num_params = g_variant_n_children (parameters);
8267 paramv = g_new0 (GValue, num_params + 1);
8269 g_value_set_object (¶mv[0], proxy);
8270 g_variant_iter_init (&iter, parameters);
8272 while ((child = g_variant_iter_next_value (&iter)) != NULL)
8277 g_value_init (¶mv[n], G_TYPE_VARIANT);
8278 g_value_set_variant (¶mv[n], child);
8282 g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
8283 g_variant_unref (child);
8286 g_signal_emitv (paramv, signal_id, 0, NULL);
8287 for (n = 0; n < num_params + 1; n++)
8288 g_value_unset (¶mv[n]);
8293 audiomanager_routing_soundmanager_proxy_g_properties_changed (GDBusProxy *_proxy,
8294 GVariant *changed_properties,
8295 const gchar *
const *invalidated_properties)
8302 g_variant_get (changed_properties,
"a{sv}", &iter);
8303 while (g_variant_iter_next (iter,
"{&sv}", &key, NULL))
8306 g_datalist_remove_data (&proxy->
priv->
qdata, key);
8308 g_object_notify (G_OBJECT (proxy), info->
hyphen_name);
8310 g_variant_iter_free (iter);
8311 for (n = 0; invalidated_properties[n] != NULL; n++)
8313 info = (
_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_audiomanager_routing_soundmanager_interface_info.
parent_struct, invalidated_properties[n]);
8314 g_datalist_remove_data (&proxy->
priv->
qdata, invalidated_properties[n]);
8316 g_object_notify (G_OBJECT (proxy), info->
hyphen_name);
8323 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 8324 proxy->
priv = audiomanager_routing_soundmanager_proxy_get_instance_private (proxy);
8335 GObjectClass *gobject_class;
8336 GDBusProxyClass *proxy_class;
8338 gobject_class = G_OBJECT_CLASS (klass);
8339 gobject_class->finalize = audiomanager_routing_soundmanager_proxy_finalize;
8340 gobject_class->get_property = audiomanager_routing_soundmanager_proxy_get_property;
8341 gobject_class->set_property = audiomanager_routing_soundmanager_proxy_set_property;
8343 proxy_class = G_DBUS_PROXY_CLASS (klass);
8344 proxy_class->g_signal = audiomanager_routing_soundmanager_proxy_g_signal;
8345 proxy_class->g_properties_changed = audiomanager_routing_soundmanager_proxy_g_properties_changed;
8347 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 8376 GDBusConnection *connection,
8377 GDBusProxyFlags flags,
8379 const gchar *object_path,
8380 GCancellable *cancellable,
8381 GAsyncReadyCallback callback,
8384 g_async_initable_new_async (
TYPE_AUDIOMANAGER_ROUTING_SOUNDMANAGER_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data,
"g-flags", flags,
"g-name", name,
"g-connection", connection,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.routing.soundmanager", NULL);
8402 GObject *source_object;
8403 source_object = g_async_result_get_source_object (res);
8404 ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
8405 g_object_unref (source_object);
8431 GDBusConnection *connection,
8432 GDBusProxyFlags flags,
8434 const gchar *object_path,
8435 GCancellable *cancellable,
8439 ret = g_initable_new (
TYPE_AUDIOMANAGER_ROUTING_SOUNDMANAGER_PROXY, cancellable, error,
"g-flags", flags,
"g-name", name,
"g-connection", connection,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.routing.soundmanager", NULL);
8467 GDBusProxyFlags flags,
8469 const gchar *object_path,
8470 GCancellable *cancellable,
8471 GAsyncReadyCallback callback,
8474 g_async_initable_new_async (
TYPE_AUDIOMANAGER_ROUTING_SOUNDMANAGER_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data,
"g-flags", flags,
"g-name", name,
"g-bus-type", bus_type,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.routing.soundmanager", NULL);
8492 GObject *source_object;
8493 source_object = g_async_result_get_source_object (res);
8494 ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
8495 g_object_unref (source_object);
8522 GDBusProxyFlags flags,
8524 const gchar *object_path,
8525 GCancellable *cancellable,
8529 ret = g_initable_new (
TYPE_AUDIOMANAGER_ROUTING_SOUNDMANAGER_PROXY, cancellable, error,
"g-flags", flags,
"g-name", name,
"g-bus-type", bus_type,
"g-object-path", object_path,
"g-interface-name",
"org.genivi.audiomanager.routing.soundmanager", NULL);
8562 _audiomanager_routing_soundmanager_skeleton_handle_method_call (
8563 GDBusConnection *connection G_GNUC_UNUSED,
8564 const gchar *sender G_GNUC_UNUSED,
8565 const gchar *object_path G_GNUC_UNUSED,
8566 const gchar *interface_name,
8567 const gchar *method_name,
8568 GVariant *parameters,
8569 GDBusMethodInvocation *invocation,
8581 GValue return_value = G_VALUE_INIT;
8583 g_assert (info != NULL);
8584 num_params = g_variant_n_children (parameters);
8585 num_extra = info->
pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
8588 g_value_set_object (¶mv[n++], skeleton);
8589 g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
8590 g_value_set_object (¶mv[n++], invocation);
8594 g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
8595 g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
8597 g_assert_not_reached ();
8600 g_variant_iter_init (&iter, parameters);
8601 while ((child = g_variant_iter_next_value (&iter)) != NULL)
8606 g_value_init (¶mv[n], G_TYPE_VARIANT);
8607 g_value_set_variant (¶mv[n], child);
8611 g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
8612 g_variant_unref (child);
8615 g_value_init (&return_value, G_TYPE_BOOLEAN);
8616 g_signal_emitv (paramv, signal_id, 0, &return_value);
8617 if (!g_value_get_boolean (&return_value))
8618 g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD,
"Method %s is not implemented on interface %s", method_name, interface_name);
8619 g_value_unset (&return_value);
8620 for (n = 0; n < num_params + num_extra; n++)
8621 g_value_unset (¶mv[n]);
8626 _audiomanager_routing_soundmanager_skeleton_handle_get_property (
8627 GDBusConnection *connection G_GNUC_UNUSED,
8628 const gchar *sender G_GNUC_UNUSED,
8629 const gchar *object_path G_GNUC_UNUSED,
8630 const gchar *interface_name G_GNUC_UNUSED,
8631 const gchar *property_name,
8636 GValue value = G_VALUE_INIT;
8642 g_assert (info != NULL);
8643 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->
hyphen_name);
8646 g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS,
"No property with name %s", property_name);
8650 g_value_init (&value, pspec->value_type);
8651 g_object_get_property (G_OBJECT (skeleton), info->
hyphen_name, &value);
8652 ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->
parent_struct.signature));
8653 g_value_unset (&value);
8659 _audiomanager_routing_soundmanager_skeleton_handle_set_property (
8660 GDBusConnection *connection G_GNUC_UNUSED,
8661 const gchar *sender G_GNUC_UNUSED,
8662 const gchar *object_path G_GNUC_UNUSED,
8663 const gchar *interface_name G_GNUC_UNUSED,
8664 const gchar *property_name,
8670 GValue value = G_VALUE_INIT;
8676 g_assert (info != NULL);
8677 pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->
hyphen_name);
8680 g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS,
"No property with name %s", property_name);
8685 g_value_set_variant (&value, variant);
8687 g_dbus_gvariant_to_gvalue (variant, &value);
8688 g_object_set_property (G_OBJECT (skeleton), info->
hyphen_name, &value);
8689 g_value_unset (&value);
8695 static const GDBusInterfaceVTable _audiomanager_routing_soundmanager_skeleton_vtable =
8697 _audiomanager_routing_soundmanager_skeleton_handle_method_call,
8698 _audiomanager_routing_soundmanager_skeleton_handle_get_property,
8699 _audiomanager_routing_soundmanager_skeleton_handle_set_property,
8703 static GDBusInterfaceInfo *
8704 audiomanager_routing_soundmanager_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
8709 static GDBusInterfaceVTable *
8710 audiomanager_routing_soundmanager_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
8712 return (GDBusInterfaceVTable *) &_audiomanager_routing_soundmanager_skeleton_vtable;
8716 audiomanager_routing_soundmanager_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
8720 GVariantBuilder builder;
8722 g_variant_builder_init (&builder, G_VARIANT_TYPE (
"a{sv}"));
8723 if (_audiomanager_routing_soundmanager_interface_info.
parent_struct.properties == NULL)
8725 for (n = 0; _audiomanager_routing_soundmanager_interface_info.
parent_struct.properties[n] != NULL; n++)
8727 GDBusPropertyInfo *info = _audiomanager_routing_soundmanager_interface_info.
parent_struct.properties[n];
8728 if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
8731 value = _audiomanager_routing_soundmanager_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
"org.genivi.audiomanager.routing.soundmanager", info->name, NULL, skeleton);
8734 g_variant_take_ref (value);
8735 g_variant_builder_add (&builder,
"{sv}", info->name, value);
8736 g_variant_unref (value);
8741 return g_variant_builder_end (&builder);
8745 audiomanager_routing_soundmanager_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
8750 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 8761 audiomanager_routing_soundmanager_skeleton_finalize (GObject *
object)
8768 g_mutex_clear (&skeleton->
priv->
lock);
8769 G_OBJECT_CLASS (audiomanager_routing_soundmanager_skeleton_parent_class)->finalize (
object);
8775 #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 8776 skeleton->
priv = audiomanager_routing_soundmanager_skeleton_get_instance_private (skeleton);
8781 g_mutex_init (&skeleton->
priv->
lock);
8782 skeleton->
priv->
context = g_main_context_ref_thread_default ();
8788 GObjectClass *gobject_class;
8789 GDBusInterfaceSkeletonClass *skeleton_class;
8791 gobject_class = G_OBJECT_CLASS (klass);
8792 gobject_class->finalize = audiomanager_routing_soundmanager_skeleton_finalize;
8794 skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
8795 skeleton_class->get_info = audiomanager_routing_soundmanager_skeleton_dbus_interface_get_info;
8796 skeleton_class->get_properties = audiomanager_routing_soundmanager_skeleton_dbus_interface_get_properties;
8797 skeleton_class->flush = audiomanager_routing_soundmanager_skeleton_dbus_interface_flush;
8798 skeleton_class->get_vtable = audiomanager_routing_soundmanager_skeleton_dbus_interface_get_vtable;
8800 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 8862 g_object_interface_install_property (iface, g_param_spec_object (
"audiomanager-commandinterface",
"audiomanager-commandinterface",
"audiomanager-commandinterface",
TYPE_AUDIOMANAGER_COMMANDINTERFACE, G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS));
8871 g_object_interface_install_property (iface, g_param_spec_object (
"audiomanager-routinginterface",
"audiomanager-routinginterface",
"audiomanager-routinginterface",
TYPE_AUDIOMANAGER_ROUTINGINTERFACE, G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS));
8880 g_object_interface_install_property (iface, g_param_spec_object (
"audiomanager-routing-soundmanager",
"audiomanager-routing-soundmanager",
"audiomanager-routing-soundmanager",
TYPE_AUDIOMANAGER_ROUTING_SOUNDMANAGER, G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS));
8894 GDBusInterface *ret;
8895 ret = g_dbus_object_get_interface (G_DBUS_OBJECT (
object),
"org.genivi.audiomanager.commandinterface");
8911 GDBusInterface *ret;
8912 ret = g_dbus_object_get_interface (G_DBUS_OBJECT (
object),
"org.genivi.audiomanager.routinginterface");
8928 GDBusInterface *ret;
8929 ret = g_dbus_object_get_interface (G_DBUS_OBJECT (
object),
"org.genivi.audiomanager.routing.soundmanager");
8948 GDBusInterface *ret;
8949 ret = g_dbus_object_get_interface (G_DBUS_OBJECT (
object),
"org.genivi.audiomanager.commandinterface");
8952 g_object_unref (ret);
8968 GDBusInterface *ret;
8969 ret = g_dbus_object_get_interface (G_DBUS_OBJECT (
object),
"org.genivi.audiomanager.routinginterface");
8972 g_object_unref (ret);
8988 GDBusInterface *ret;
8989 ret = g_dbus_object_get_interface (G_DBUS_OBJECT (
object),
"org.genivi.audiomanager.routing.soundmanager");
8992 g_object_unref (ret);
8998 object_notify (GDBusObject *
object, GDBusInterface *interface)
9005 g_object_notify (G_OBJECT (
object), info->
hyphen_name);
9022 object_proxy__object_iface_init (
ObjectIface *iface G_GNUC_UNUSED)
9027 object_proxy__g_dbus_object_iface_init (GDBusObjectIface *iface)
9029 iface->interface_added = object_notify;
9030 iface->interface_removed = object_notify;
9035 G_IMPLEMENT_INTERFACE (
TYPE_OBJECT, object_proxy__object_iface_init)
9036 G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_proxy__g_dbus_object_iface_init));
9039 object_proxy_init (
ObjectProxy *
object G_GNUC_UNUSED)
9044 object_proxy_set_property (GObject *gobject,
9046 const GValue *value G_GNUC_UNUSED,
9049 G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);
9053 object_proxy_get_property (GObject *gobject,
9059 GDBusInterface *interface;
9064 interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "org.genivi.audiomanager.commandinterface");
9065 g_value_take_object (value, interface);
9069 interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "org.genivi.audiomanager.routinginterface");
9070 g_value_take_object (value, interface);
9074 interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "org.genivi.audiomanager.routing.soundmanager");
9075 g_value_take_object (value, interface);
9079 G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);
9087 GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
9089 gobject_class->set_property = object_proxy_set_property;
9090 gobject_class->get_property = object_proxy_get_property;
9092 g_object_class_override_property (gobject_class, 1,
"audiomanager-commandinterface");
9093 g_object_class_override_property (gobject_class, 2,
"audiomanager-routinginterface");
9094 g_object_class_override_property (gobject_class, 3,
"audiomanager-routing-soundmanager");
9108 const gchar *object_path)
9110 g_return_val_if_fail (G_IS_DBUS_CONNECTION (connection), NULL);
9111 g_return_val_if_fail (g_variant_is_object_path (object_path), NULL);
9129 object_skeleton__object_iface_init (
ObjectIface *iface G_GNUC_UNUSED)
9135 object_skeleton__g_dbus_object_iface_init (GDBusObjectIface *iface)
9137 iface->interface_added = object_notify;
9138 iface->interface_removed = object_notify;
9142 G_IMPLEMENT_INTERFACE (
TYPE_OBJECT, object_skeleton__object_iface_init)
9143 G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_skeleton__g_dbus_object_iface_init));
9151 object_skeleton_set_property (GObject *gobject,
9153 const GValue *value,
9157 GDBusInterfaceSkeleton *interface;
9162 interface = g_value_get_object (value);
9163 if (interface != NULL)
9166 g_dbus_object_skeleton_add_interface (G_DBUS_OBJECT_SKELETON (
object), interface);
9170 g_dbus_object_skeleton_remove_interface_by_name (G_DBUS_OBJECT_SKELETON (
object),
"org.genivi.audiomanager.commandinterface");
9175 interface = g_value_get_object (value);
9176 if (interface != NULL)
9179 g_dbus_object_skeleton_add_interface (G_DBUS_OBJECT_SKELETON (
object), interface);
9183 g_dbus_object_skeleton_remove_interface_by_name (G_DBUS_OBJECT_SKELETON (
object),
"org.genivi.audiomanager.routinginterface");
9188 interface = g_value_get_object (value);
9189 if (interface != NULL)
9192 g_dbus_object_skeleton_add_interface (G_DBUS_OBJECT_SKELETON (
object), interface);
9196 g_dbus_object_skeleton_remove_interface_by_name (G_DBUS_OBJECT_SKELETON (
object),
"org.genivi.audiomanager.routing.soundmanager");
9201 G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);
9207 object_skeleton_get_property (GObject *gobject,
9213 GDBusInterface *interface;
9218 interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "org.genivi.audiomanager.commandinterface");
9219 g_value_take_object (value, interface);
9223 interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "org.genivi.audiomanager.routinginterface");
9224 g_value_take_object (value, interface);
9228 interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "org.genivi.audiomanager.routing.soundmanager");
9229 g_value_take_object (value, interface);
9233 G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);
9241 GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
9243 gobject_class->set_property = object_skeleton_set_property;
9244 gobject_class->get_property = object_skeleton_get_property;
9246 g_object_class_override_property (gobject_class, 1,
"audiomanager-commandinterface");
9247 g_object_class_override_property (gobject_class, 2,
"audiomanager-routinginterface");
9248 g_object_class_override_property (gobject_class, 3,
"audiomanager-routing-soundmanager");
9262 g_return_val_if_fail (g_variant_is_object_path (object_path), NULL);
9275 g_object_set (G_OBJECT (
object),
"audiomanager-commandinterface", interface_, NULL);
9287 g_object_set (G_OBJECT (
object),
"audiomanager-routinginterface", interface_, NULL);
9299 g_object_set (G_OBJECT (
object),
"audiomanager-routing-soundmanager", interface_, NULL);
9355 static gsize once_init_value = 0;
9356 static GHashTable *lookup_hash;
9359 if (interface_name == NULL)
9361 if (g_once_init_enter (&once_init_value))
9363 lookup_hash = g_hash_table_new (g_str_hash, g_str_equal);
9367 g_once_init_leave (&once_init_value, 1);
9369 ret = (GType) GPOINTER_TO_SIZE (g_hash_table_lookup (lookup_hash, interface_name));
9370 if (ret == (GType) 0)
9371 ret = G_TYPE_DBUS_PROXY;
9394 GDBusConnection *connection,
9395 GDBusObjectManagerClientFlags flags,
9397 const gchar *object_path,
9398 GCancellable *cancellable,
9399 GAsyncReadyCallback callback,
9402 g_async_initable_new_async (
TYPE_OBJECT_MANAGER_CLIENT, G_PRIORITY_DEFAULT, cancellable, callback, user_data,
"flags", flags,
"name", name,
"connection", connection,
"object-path", object_path,
"get-proxy-type-func",
object_manager_client_get_proxy_type, NULL);
9414 GDBusObjectManager *
9420 GObject *source_object;
9421 source_object = g_async_result_get_source_object (res);
9422 ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
9423 g_object_unref (source_object);
9425 return G_DBUS_OBJECT_MANAGER (ret);
9447 GDBusObjectManager *
9449 GDBusConnection *connection,
9450 GDBusObjectManagerClientFlags flags,
9452 const gchar *object_path,
9453 GCancellable *cancellable,
9457 ret = g_initable_new (
TYPE_OBJECT_MANAGER_CLIENT, cancellable, error,
"flags", flags,
"name", name,
"connection", connection,
"object-path", object_path,
"get-proxy-type-func",
object_manager_client_get_proxy_type, NULL);
9459 return G_DBUS_OBJECT_MANAGER (ret);
9485 GDBusObjectManagerClientFlags flags,
9487 const gchar *object_path,
9488 GCancellable *cancellable,
9489 GAsyncReadyCallback callback,
9492 g_async_initable_new_async (
TYPE_OBJECT_MANAGER_CLIENT, G_PRIORITY_DEFAULT, cancellable, callback, user_data,
"flags", flags,
"name", name,
"bus-type", bus_type,
"object-path", object_path,
"get-proxy-type-func",
object_manager_client_get_proxy_type, NULL);
9504 GDBusObjectManager *
9510 GObject *source_object;
9511 source_object = g_async_result_get_source_object (res);
9512 ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
9513 g_object_unref (source_object);
9515 return G_DBUS_OBJECT_MANAGER (ret);
9537 GDBusObjectManager *
9540 GDBusObjectManagerClientFlags flags,
9542 const gchar *object_path,
9543 GCancellable *cancellable,
9547 ret = g_initable_new (
TYPE_OBJECT_MANAGER_CLIENT, cancellable, error,
"flags", flags,
"name", name,
"bus-type", bus_type,
"object-path", object_path,
"get-proxy-type-func",
object_manager_client_get_proxy_type, NULL);
9549 return G_DBUS_OBJECT_MANAGER (ret);
gboolean audiomanager_routinginterface_call_register_source_finish(AudiomanagerRoutinginterface *proxy, guint16 *out_sourceID, guint16 *out_error, GAsyncResult *res, GError **error)
gboolean audiomanager_routinginterface_call_deregister_sink_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_sinkID, gint *out_error, GCancellable *cancellable, GError **error)
void audiomanager_commandinterface_call_connect(AudiomanagerCommandinterface *proxy, guint16 arg_sourceID, guint16 arg_sinkID, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
ObjectProxy * object_proxy_new(GDBusConnection *connection, const gchar *object_path)
#define TYPE_AUDIOMANAGER_ROUTINGINTERFACE
void audiomanager_routing_soundmanager_call_async_connect(AudiomanagerRoutingSoundmanager *proxy, guint16 arg_handle, guint16 arg_connectionID, guint16 arg_sourceID, guint16 arg_sinkID, gint arg_connectionFormat, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void audiomanager_routinginterface_call_register_source(AudiomanagerRoutinginterface *proxy, GVariant *arg_sourceData, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean audiomanager_routinginterface_call_ack_set_volumes_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
gboolean audiomanager_routinginterface_call_confirm_routing_ready_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
void audiomanager_routinginterface_call_hook_interrupt_status_change(AudiomanagerRoutinginterface *proxy, guint16 arg_sourceID, guint16 arg_interruptState, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
AudiomanagerRoutingSoundmanager * audiomanager_routing_soundmanager_proxy_new_for_bus_finish(GAsyncResult *res, GError **error)
void(* system_property_changed)(AudiomanagerCommandinterface *object, GVariant *arg_SystemProperty)
struct _AudiomanagerRoutingSoundmanager AudiomanagerRoutingSoundmanager
void audiomanager_routing_soundmanager_proxy_new_for_bus(GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GDBusSignalInfo parent_struct
void audiomanager_commandinterface_emit_system_property_changed(AudiomanagerCommandinterface *object, GVariant *arg_SystemProperty)
void audiomanager_routinginterface_proxy_new(GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean audiomanager_routing_soundmanager_call_async_abort_sync(AudiomanagerRoutingSoundmanager *proxy, guint16 arg_handle, gint16 *out_error, GCancellable *cancellable, GError **error)
#define IS_AUDIOMANAGER_ROUTING_SOUNDMANAGER(o)
void object_skeleton_set_audiomanager_routing_soundmanager(ObjectSkeleton *object, AudiomanagerRoutingSoundmanager *interface_)
#define AUDIOMANAGER_COMMANDINTERFACE(o)
void object_skeleton_set_audiomanager_commandinterface(ObjectSkeleton *object, AudiomanagerCommandinterface *interface_)
gboolean audiomanager_routinginterface_call_ack_source_notification_configuration_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, guint16 arg_error, GCancellable *cancellable, GError **error)
void audiomanager_routing_soundmanager_complete_async_set_source_state(AudiomanagerRoutingSoundmanager *object, GDBusMethodInvocation *invocation)
void audiomanager_routinginterface_call_deregister_source(AudiomanagerRoutinginterface *proxy, guint16 arg_sourceID, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
guint audiomanager_routinginterface_override_properties(GObjectClass *klass, guint property_id_begin)
#define TYPE_AUDIOMANAGER_ROUTINGINTERFACE_PROXY
GList * changed_properties
#define AUDIOMANAGER_COMMANDINTERFACE_PROXY(o)
gboolean audiomanager_routing_soundmanager_call_async_set_sink_volume_sync(AudiomanagerRoutingSoundmanager *proxy, guint16 arg_handle, guint16 arg_sinkID, gint16 arg_volume, gint16 arg_ramp, guint16 arg_time, GCancellable *cancellable, GError **error)
gboolean audiomanager_routinginterface_call_hook_source_availablity_status_change_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
gboolean audiomanager_commandinterface_call_get_list_main_connections_finish(AudiomanagerCommandinterface *proxy, gint16 *out_result, GVariant **out_listConnections, GAsyncResult *res, GError **error)
gboolean audiomanager_routinginterface_call_deregister_source_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_sourceID, guint16 *out_error, GCancellable *cancellable, GError **error)
#define TYPE_AUDIOMANAGER_COMMANDINTERFACE_PROXY
void audiomanager_routinginterface_emit_set_routing_ready(AudiomanagerRoutinginterface *object)
gboolean audiomanager_routinginterface_call_register_sink_finish(AudiomanagerRoutinginterface *proxy, guint16 *out_sinkID, guint16 *out_error, GAsyncResult *res, GError **error)
GDBusMethodInfo parent_struct
void audiomanager_commandinterface_emit_sink_mute_state_changed(AudiomanagerCommandinterface *object, guint16 arg_sinkID, gint16 arg_muteState)
void audiomanager_commandinterface_call_set_volume(AudiomanagerCommandinterface *proxy, guint16 arg_sinkID, gint16 arg_volume, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
#define TYPE_AUDIOMANAGER_COMMANDINTERFACE_SKELETON
G_DEFINE_TYPE_WITH_CODE(AudiomanagerCommandinterfaceProxy, audiomanager_commandinterface_proxy, G_TYPE_DBUS_PROXY, G_IMPLEMENT_INTERFACE(TYPE_AUDIOMANAGER_COMMANDINTERFACE, audiomanager_commandinterface_proxy_iface_init))
void audiomanager_commandinterface_complete_get_list_main_connections(AudiomanagerCommandinterface *object, GDBusMethodInvocation *invocation, gint16 result, GVariant *listConnections)
void audiomanager_routinginterface_complete_confirm_routing_ready(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
G_DEFINE_TYPE(ObjectManagerClient, object_manager_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT)
void(* removed_main_connection)(AudiomanagerCommandinterface *object, guint16 arg_mainConnectionId)
GType object_manager_client_get_proxy_type(GDBusObjectManagerClient *manager G_GNUC_UNUSED, const gchar *object_path G_GNUC_UNUSED, const gchar *interface_name, gpointer user_data G_GNUC_UNUSED)
#define AUDIOMANAGER_ROUTINGINTERFACE_SKELETON(o)
#define IS_AUDIOMANAGER_ROUTINGINTERFACE(o)
AudiomanagerRoutingSoundmanager * audiomanager_routing_soundmanager_proxy_new_finish(GAsyncResult *res, GError **error)
AudiomanagerCommandinterface * audiomanager_commandinterface_skeleton_new(void)
void audiomanager_commandinterface_proxy_new(GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void audiomanager_routing_soundmanager_call_async_set_sink_volume(AudiomanagerRoutingSoundmanager *proxy, guint16 arg_handle, guint16 arg_sinkID, gint16 arg_volume, gint16 arg_ramp, guint16 arg_time, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void audiomanager_routinginterface_complete_register_source(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation, guint16 sourceID, guint16 error)
void audiomanager_commandinterface_call_volume_step(AudiomanagerCommandinterface *proxy, guint16 arg_sinkID, gint16 arg_volumeStep, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void audiomanager_routinginterface_call_ack_set_source_state(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, guint16 arg_error, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean audiomanager_routinginterface_call_hook_source_availablity_status_change_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_sourceID, GVariant *arg_availability, GCancellable *cancellable, GError **error)
const gchar * signal_name
G_DEFINE_INTERFACE_WITH_CODE(Object, object, G_TYPE_OBJECT, g_type_interface_add_prerequisite(g_define_type_id, G_TYPE_DBUS_OBJECT))
AudiomanagerRoutingSoundmanager * audiomanager_routing_soundmanager_proxy_new_sync(GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
#define TYPE_OBJECT_MANAGER_CLIENT
gboolean audiomanager_routing_soundmanager_call_async_disconnect_finish(AudiomanagerRoutingSoundmanager *proxy, GAsyncResult *res, GError **error)
GDBusObjectManager * object_manager_client_new_sync(GDBusConnection *connection, GDBusObjectManagerClientFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
gboolean audiomanager_commandinterface_call_set_sink_mute_state_finish(AudiomanagerCommandinterface *proxy, gint16 *out_result, GAsyncResult *res, GError **error)
gboolean audiomanager_routinginterface_call_ack_connect_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
struct _AudiomanagerCommandinterface AudiomanagerCommandinterface
void audiomanager_routinginterface_emit_set_routing_rundown(AudiomanagerRoutinginterface *object)
void audiomanager_routinginterface_call_deregister_sink(AudiomanagerRoutinginterface *proxy, guint16 arg_sinkID, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GDBusInterfaceInfo * audiomanager_routing_soundmanager_interface_info(void)
GDBusArgInfo parent_struct
gboolean audiomanager_routinginterface_call_deregister_source_finish(AudiomanagerRoutinginterface *proxy, guint16 *out_error, GAsyncResult *res, GError **error)
gboolean audiomanager_commandinterface_call_disconnect_finish(AudiomanagerCommandinterface *proxy, gint16 *out_result, GAsyncResult *res, GError **error)
struct _AudiomanagerRoutinginterface AudiomanagerRoutinginterface
void audiomanager_commandinterface_complete_set_volume(AudiomanagerCommandinterface *object, GDBusMethodInvocation *invocation, gint16 result)
void audiomanager_routinginterface_call_hook_source_availablity_status_change(AudiomanagerRoutinginterface *proxy, guint16 arg_sourceID, GVariant *arg_availability, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean audiomanager_routinginterface_call_confirm_routing_rundown_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
gboolean audiomanager_commandinterface_call_get_list_main_sinks_finish(AudiomanagerCommandinterface *proxy, gint16 *out_result, GVariant **out_listMainSinks, GAsyncResult *res, GError **error)
void audiomanager_routinginterface_complete_ack_source_notification_configuration(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
void(* new_main_connection)(AudiomanagerCommandinterface *object, GVariant *arg_mainConnection)
gboolean audiomanager_routinginterface_call_ack_set_sink_volume_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
gboolean audiomanager_routinginterface_call_deregister_sink_finish(AudiomanagerRoutinginterface *proxy, gint *out_error, GAsyncResult *res, GError **error)
void object_manager_client_new(GDBusConnection *connection, GDBusObjectManagerClientFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
AudiomanagerRoutingSoundmanager * object_get_audiomanager_routing_soundmanager(Object *object)
AudiomanagerRoutinginterfaceIface AudiomanagerRoutinginterfaceInterface
#define AUDIOMANAGER_ROUTING_SOUNDMANAGER(o)
#define TYPE_AUDIOMANAGER_ROUTING_SOUNDMANAGER_SKELETON
void audiomanager_routinginterface_complete_register_domain(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation, guint16 domainid, guint16 error)
gboolean audiomanager_routinginterface_call_hook_interrupt_status_change_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_sourceID, guint16 arg_interruptState, GCancellable *cancellable, GError **error)
void audiomanager_routinginterface_complete_register_sink(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation, guint16 sinkID, guint16 error)
void audiomanager_commandinterface_complete_connect(AudiomanagerCommandinterface *object, GDBusMethodInvocation *invocation, gint16 result, guint16 mainConnectionID)
gboolean audiomanager_routinginterface_call_ack_set_source_state_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
void audiomanager_commandinterface_call_disconnect(AudiomanagerCommandinterface *proxy, guint16 arg_mainConnectionID, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
G_DEFINE_INTERFACE(AudiomanagerCommandinterface, audiomanager_commandinterface, G_TYPE_OBJECT)
void audiomanager_routinginterface_call_confirm_routing_rundown(AudiomanagerRoutinginterface *proxy, guint16 arg_domainID, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
#define TYPE_AUDIOMANAGER_ROUTINGINTERFACE_SKELETON
void audiomanager_routing_soundmanager_complete_async_disconnect(AudiomanagerRoutingSoundmanager *object, GDBusMethodInvocation *invocation)
gboolean audiomanager_routinginterface_call_ack_disconnect_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, guint16 arg_connectionID, guint16 arg_error, GCancellable *cancellable, GError **error)
gboolean audiomanager_routinginterface_call_ack_connect_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, guint16 arg_connectionID, guint16 arg_error, GCancellable *cancellable, GError **error)
gboolean audiomanager_commandinterface_call_connect_finish(AudiomanagerCommandinterface *proxy, gint16 *out_result, guint16 *out_mainConnectionID, GAsyncResult *res, GError **error)
gboolean audiomanager_routinginterface_call_hook_interrupt_status_change_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
gboolean audiomanager_commandinterface_call_set_volume_sync(AudiomanagerCommandinterface *proxy, guint16 arg_sinkID, gint16 arg_volume, gint16 *out_result, GCancellable *cancellable, GError **error)
gboolean audiomanager_routinginterface_call_register_source_sync(AudiomanagerRoutinginterface *proxy, GVariant *arg_sourceData, guint16 *out_sourceID, guint16 *out_error, GCancellable *cancellable, GError **error)
#define TYPE_OBJECT_PROXY
gboolean audiomanager_commandinterface_call_set_sink_mute_state_sync(AudiomanagerCommandinterface *proxy, guint16 arg_sinkID, gint16 arg_muteState, gint16 *out_result, GCancellable *cancellable, GError **error)
void audiomanager_commandinterface_complete_volume_step(AudiomanagerCommandinterface *object, GDBusMethodInvocation *invocation, gint16 result)
void audiomanager_routinginterface_call_confirm_routing_ready(AudiomanagerRoutinginterface *proxy, guint16 arg_domainID, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean audiomanager_routinginterface_call_ack_set_sink_volume_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, gint16 arg_volume, guint16 arg_error, GCancellable *cancellable, GError **error)
GDBusObjectManager * object_manager_client_new_for_bus_sync(GBusType bus_type, GDBusObjectManagerClientFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
void audiomanager_commandinterface_complete_disconnect(AudiomanagerCommandinterface *object, GDBusMethodInvocation *invocation, gint16 result)
ObjectSkeleton * object_skeleton_new(const gchar *object_path)
gboolean audiomanager_routing_soundmanager_call_async_disconnect_sync(AudiomanagerRoutingSoundmanager *proxy, guint16 arg_handle, guint16 arg_connectionID, GCancellable *cancellable, GError **error)
AudiomanagerCommandinterface * audiomanager_commandinterface_proxy_new_for_bus_finish(GAsyncResult *res, GError **error)
void(* volume_changed)(AudiomanagerCommandinterface *object, guint16 arg_sinkID, gint16 arg_volume)
void audiomanager_commandinterface_emit_volume_changed(AudiomanagerCommandinterface *object, guint16 arg_sinkID, gint16 arg_volume)
guint audiomanager_routing_soundmanager_override_properties(GObjectClass *klass, guint property_id_begin)
AudiomanagerRoutinginterfaceSkeletonPrivate * priv
guint audiomanager_commandinterface_override_properties(GObjectClass *klass, guint property_id_begin)
AudiomanagerRoutingSoundmanagerIface AudiomanagerRoutingSoundmanagerInterface
#define AUDIOMANAGER_ROUTING_SOUNDMANAGER_PROXY(o)
void audiomanager_routing_soundmanager_call_async_disconnect(AudiomanagerRoutingSoundmanager *proxy, guint16 arg_handle, guint16 arg_connectionID, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean audiomanager_commandinterface_call_get_list_main_connections_sync(AudiomanagerCommandinterface *proxy, gint16 *out_result, GVariant **out_listConnections, GCancellable *cancellable, GError **error)
gboolean audiomanager_routing_soundmanager_call_async_abort_finish(AudiomanagerRoutingSoundmanager *proxy, gint16 *out_error, GAsyncResult *res, GError **error)
gboolean audiomanager_commandinterface_call_get_list_main_sinks_sync(AudiomanagerCommandinterface *proxy, gint16 *out_result, GVariant **out_listMainSinks, GCancellable *cancellable, GError **error)
void audiomanager_routinginterface_complete_ack_connect(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
void audiomanager_routing_soundmanager_complete_async_abort(AudiomanagerRoutingSoundmanager *object, GDBusMethodInvocation *invocation, gint16 error)
#define TYPE_OBJECT_SKELETON
AudiomanagerCommandinterface * audiomanager_commandinterface_proxy_new_finish(GAsyncResult *res, GError **error)
void audiomanager_routing_soundmanager_call_async_abort(AudiomanagerRoutingSoundmanager *proxy, guint16 arg_handle, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean audiomanager_routing_soundmanager_call_async_connect_sync(AudiomanagerRoutingSoundmanager *proxy, guint16 arg_handle, guint16 arg_connectionID, guint16 arg_sourceID, guint16 arg_sinkID, gint arg_connectionFormat, GCancellable *cancellable, GError **error)
AudiomanagerRoutinginterface * object_get_audiomanager_routinginterface(Object *object)
AudiomanagerCommandinterface * object_get_audiomanager_commandinterface(Object *object)
AudiomanagerRoutinginterface * object_peek_audiomanager_routinginterface(Object *object)
void audiomanager_routing_soundmanager_proxy_new(GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void audiomanager_routinginterface_complete_ack_set_source_state(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
GDBusObjectManager * object_manager_client_new_for_bus_finish(GAsyncResult *res, GError **error)
#define OBJECT_SKELETON(o)
void audiomanager_commandinterface_emit_removed_main_connection(AudiomanagerCommandinterface *object, guint16 arg_mainConnectionId)
#define TYPE_AUDIOMANAGER_COMMANDINTERFACE
void audiomanager_routing_soundmanager_call_async_set_source_state(AudiomanagerRoutingSoundmanager *proxy, guint16 arg_handle, guint16 arg_sourceID, gint arg_sourceState, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
AudiomanagerRoutinginterface * audiomanager_routinginterface_proxy_new_for_bus_sync(GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
AudiomanagerRoutinginterface * audiomanager_routinginterface_proxy_new_for_bus_finish(GAsyncResult *res, GError **error)
void audiomanager_commandinterface_proxy_new_for_bus(GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GList * changed_properties
void(* set_routing_rundown)(AudiomanagerRoutinginterface *object)
void audiomanager_routinginterface_complete_confirm_routing_rundown(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
const _ExtendedGDBusPropertyInfo * info
void(* set_routing_ready)(AudiomanagerRoutinginterface *object)
AudiomanagerRoutinginterfaceProxyPrivate * priv
gboolean audiomanager_routing_soundmanager_call_async_set_source_state_finish(AudiomanagerRoutingSoundmanager *proxy, GAsyncResult *res, GError **error)
AudiomanagerRoutingSoundmanager * audiomanager_routing_soundmanager_skeleton_new(void)
gboolean audiomanager_routinginterface_call_ack_sink_notification_configuration_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, guint16 arg_error, GCancellable *cancellable, GError **error)
#define AUDIOMANAGER_ROUTINGINTERFACE(o)
#define AUDIOMANAGER_ROUTING_SOUNDMANAGER_SKELETON(o)
void audiomanager_commandinterface_emit_new_main_connection(AudiomanagerCommandinterface *object, GVariant *arg_mainConnection)
GSource * changed_properties_idle_source
gboolean audiomanager_commandinterface_call_volume_step_finish(AudiomanagerCommandinterface *proxy, gint16 *out_result, GAsyncResult *res, GError **error)
void audiomanager_commandinterface_call_get_list_main_sinks(AudiomanagerCommandinterface *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void audiomanager_commandinterface_emit_main_connection_state_changed(AudiomanagerCommandinterface *object, guint16 arg_connectionID, gint16 arg_connectionState)
AudiomanagerRoutingSoundmanagerProxyPrivate * priv
void audiomanager_commandinterface_call_set_sink_mute_state(AudiomanagerCommandinterface *proxy, guint16 arg_sinkID, gint16 arg_muteState, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean audiomanager_commandinterface_call_connect_sync(AudiomanagerCommandinterface *proxy, guint16 arg_sourceID, guint16 arg_sinkID, gint16 *out_result, guint16 *out_mainConnectionID, GCancellable *cancellable, GError **error)
AudiomanagerCommandinterfaceIface AudiomanagerCommandinterfaceInterface
gboolean audiomanager_commandinterface_call_volume_step_sync(AudiomanagerCommandinterface *proxy, guint16 arg_sinkID, gint16 arg_volumeStep, gint16 *out_result, GCancellable *cancellable, GError **error)
void audiomanager_routinginterface_complete_ack_disconnect(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
gboolean audiomanager_routinginterface_call_register_sink_sync(AudiomanagerRoutinginterface *proxy, GVariant *arg_sinkData, guint16 *out_sinkID, guint16 *out_error, GCancellable *cancellable, GError **error)
gboolean audiomanager_routinginterface_call_ack_disconnect_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
AudiomanagerRoutingSoundmanager * audiomanager_routing_soundmanager_proxy_new_for_bus_sync(GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
void audiomanager_routinginterface_call_ack_set_volumes(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, GVariant *arg_listvolumes, guint16 arg_error, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
#define TYPE_AUDIOMANAGER_ROUTING_SOUNDMANAGER
void audiomanager_routinginterface_complete_ack_set_volumes(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
AudiomanagerRoutingSoundmanager * object_peek_audiomanager_routing_soundmanager(Object *object)
gboolean audiomanager_routinginterface_call_register_domain_finish(AudiomanagerRoutinginterface *proxy, guint16 *out_domainid, guint16 *out_error, GAsyncResult *res, GError **error)
void(* sink_mute_state_changed)(AudiomanagerCommandinterface *object, guint16 arg_sinkID, gint16 arg_muteState)
#define AUDIOMANAGER_COMMANDINTERFACE_SKELETON(o)
GDBusObjectManager * object_manager_client_new_finish(GAsyncResult *res, GError **error)
GSource * changed_properties_idle_source
void audiomanager_routinginterface_proxy_new_for_bus(GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void audiomanager_routinginterface_complete_deregister_source(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation, guint16 error)
ObjectIface ObjectInterface
void audiomanager_routinginterface_call_register_domain(AudiomanagerRoutinginterface *proxy, GVariant *arg_domaindata, const gchar *arg_returnBusname, const gchar *arg_returnPath, const gchar *arg_returnInterface, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void audiomanager_routinginterface_call_ack_set_sink_volume(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, gint16 arg_volume, guint16 arg_error, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
AudiomanagerRoutingSoundmanagerSkeletonPrivate * priv
const gchar * hyphen_name
void audiomanager_routinginterface_call_ack_source_notification_configuration(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, guint16 arg_error, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
#define AUDIOMANAGER_ROUTINGINTERFACE_PROXY(o)
void audiomanager_routinginterface_call_ack_connect(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, guint16 arg_connectionID, guint16 arg_error, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
AudiomanagerRoutinginterface * audiomanager_routinginterface_proxy_new_sync(GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
gboolean audiomanager_routing_soundmanager_call_async_set_source_state_sync(AudiomanagerRoutingSoundmanager *proxy, guint16 arg_handle, guint16 arg_sourceID, gint arg_sourceState, GCancellable *cancellable, GError **error)
GSource * changed_properties_idle_source
AudiomanagerCommandinterfaceSkeletonPrivate * priv
gboolean audiomanager_routinginterface_call_confirm_routing_ready_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_domainID, GCancellable *cancellable, GError **error)
gboolean audiomanager_routing_soundmanager_call_async_set_sink_volume_finish(AudiomanagerRoutingSoundmanager *proxy, GAsyncResult *res, GError **error)
#define TYPE_AUDIOMANAGER_ROUTING_SOUNDMANAGER_PROXY
void audiomanager_routing_soundmanager_complete_async_set_sink_volume(AudiomanagerRoutingSoundmanager *object, GDBusMethodInvocation *invocation)
AudiomanagerCommandinterfaceProxyPrivate * priv
void audiomanager_commandinterface_call_get_list_main_connections(AudiomanagerCommandinterface *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
const gchar * signal_name
void object_manager_client_new_for_bus(GBusType bus_type, GDBusObjectManagerClientFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean audiomanager_routing_soundmanager_call_async_connect_finish(AudiomanagerRoutingSoundmanager *proxy, GAsyncResult *res, GError **error)
gboolean audiomanager_routinginterface_call_ack_set_source_state_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, guint16 arg_error, GCancellable *cancellable, GError **error)
void audiomanager_routinginterface_call_register_sink(AudiomanagerRoutinginterface *proxy, GVariant *arg_sinkData, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GDBusPropertyInfo parent_struct
void audiomanager_routinginterface_call_ack_disconnect(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, guint16 arg_connectionID, guint16 arg_error, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GDBusInterfaceInfo parent_struct
GDBusInterfaceInfo * audiomanager_routinginterface_interface_info(void)
AudiomanagerCommandinterface * audiomanager_commandinterface_proxy_new_sync(GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
AudiomanagerRoutinginterface * audiomanager_routinginterface_skeleton_new(void)
void audiomanager_routinginterface_complete_ack_sink_notification_configuration(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
AudiomanagerCommandinterface * object_peek_audiomanager_commandinterface(Object *object)
gboolean audiomanager_routinginterface_call_ack_sink_notification_configuration_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
GList * changed_properties
#define IS_AUDIOMANAGER_COMMANDINTERFACE(o)
void audiomanager_routing_soundmanager_complete_async_connect(AudiomanagerRoutingSoundmanager *object, GDBusMethodInvocation *invocation)
gboolean audiomanager_commandinterface_call_set_volume_finish(AudiomanagerCommandinterface *proxy, gint16 *out_result, GAsyncResult *res, GError **error)
void object_skeleton_set_audiomanager_routinginterface(ObjectSkeleton *object, AudiomanagerRoutinginterface *interface_)
AudiomanagerCommandinterface * audiomanager_commandinterface_proxy_new_for_bus_sync(GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
GDBusInterfaceInfo * audiomanager_commandinterface_interface_info(void)
const gchar * hyphen_name
gboolean audiomanager_commandinterface_call_disconnect_sync(AudiomanagerCommandinterface *proxy, guint16 arg_mainConnectionID, gint16 *out_result, GCancellable *cancellable, GError **error)
gboolean audiomanager_routinginterface_call_register_domain_sync(AudiomanagerRoutinginterface *proxy, GVariant *arg_domaindata, const gchar *arg_returnBusname, const gchar *arg_returnPath, const gchar *arg_returnInterface, guint16 *out_domainid, guint16 *out_error, GCancellable *cancellable, GError **error)
void audiomanager_routinginterface_complete_hook_interrupt_status_change(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
void audiomanager_commandinterface_complete_set_sink_mute_state(AudiomanagerCommandinterface *object, GDBusMethodInvocation *invocation, gint16 result)
gboolean audiomanager_routinginterface_call_ack_source_notification_configuration_finish(AudiomanagerRoutinginterface *proxy, GAsyncResult *res, GError **error)
gboolean audiomanager_routinginterface_call_ack_set_volumes_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, GVariant *arg_listvolumes, guint16 arg_error, GCancellable *cancellable, GError **error)
void audiomanager_routinginterface_complete_hook_source_availablity_status_change(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
gboolean audiomanager_routinginterface_call_confirm_routing_rundown_sync(AudiomanagerRoutinginterface *proxy, guint16 arg_domainID, GCancellable *cancellable, GError **error)
void audiomanager_routinginterface_complete_ack_set_sink_volume(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation)
void audiomanager_commandinterface_complete_get_list_main_sinks(AudiomanagerCommandinterface *object, GDBusMethodInvocation *invocation, gint16 result, GVariant *listMainSinks)
void(* main_connection_state_changed)(AudiomanagerCommandinterface *object, guint16 arg_connectionID, gint16 arg_connectionState)
void audiomanager_routinginterface_call_ack_sink_notification_configuration(AudiomanagerRoutinginterface *proxy, guint16 arg_handle, guint16 arg_error, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
AudiomanagerRoutinginterface * audiomanager_routinginterface_proxy_new_finish(GAsyncResult *res, GError **error)
void audiomanager_routinginterface_complete_deregister_sink(AudiomanagerRoutinginterface *object, GDBusMethodInvocation *invocation, gint error)