Add OutputRate and OutputFormat properties to the D-Bus interface.
This commit is contained in:
@@ -1041,6 +1041,8 @@ static void on_dbus_name_acquired(GDBusConnection *connection, const gchar *name
|
||||
#endif
|
||||
|
||||
shairport_sync_set_service_name(SHAIRPORT_SYNC(shairportSyncSkeleton), config.service_name);
|
||||
shairport_sync_set_output_rate(SHAIRPORT_SYNC(shairportSyncSkeleton), config.output_rate);
|
||||
shairport_sync_set_output_format(SHAIRPORT_SYNC(shairportSyncSkeleton), sps_format_description_string(config.output_format));
|
||||
|
||||
#ifdef CONFIG_AIRPLAY_2
|
||||
shairport_sync_set_protocol(SHAIRPORT_SYNC(shairportSyncSkeleton), "AirPlay 2");
|
||||
|
||||
-5564
File diff suppressed because it is too large
Load Diff
@@ -25,6 +25,8 @@
|
||||
<property name="VersionString" type="s" access="read" />
|
||||
<property name="Protocol" type="s" access="read" />
|
||||
<property name="ServiceName" type="s" access="read" />
|
||||
<property name="OutputFormat" type="s" access="read" />
|
||||
<property name="OutputRate" type="i" access="read" />
|
||||
</interface>
|
||||
<interface name="org.gnome.ShairportSync.Diagnostics">
|
||||
<property name="Verbosity" type="i" access="readwrite" />
|
||||
|
||||
Reference in New Issue
Block a user