Update the D-Bus test client to refer to shairport_sync_get_loudness_enabled rather than shairport_sync_get_loudness.

This commit is contained in:
Mike Brady
2026-03-01 13:44:21 +00:00
parent daa985e4e4
commit 22f283fe8c
+1 -1
View File
@@ -68,7 +68,7 @@ void on_properties_changed(__attribute__((unused)) GDBusProxy *proxy, GVariant *
void notify_loudness_callback(ShairportSync *proxy, __attribute__((unused)) gpointer user_data) {
// printf("\"notify_loudness_callback\" called with a gpointer of
// %lx.\n",(int64_t)user_data);
gboolean ebl = shairport_sync_get_loudness(proxy);
gboolean ebl = shairport_sync_get_loudness_enabled(proxy);
if (ebl == TRUE)
printf("Client reports loudness is enabled.\n");
else