]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Update the D-Bus test client to refer to shairport_sync_get_loudness_enabled rather...
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 1 Mar 2026 13:44:21 +0000 (13:44 +0000)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 1 Mar 2026 13:44:21 +0000 (13:44 +0000)
shairport-sync-dbus-test-client.c

index 3036bdee7c1ae7bcabe3870729226b0c187261c8..b95f2a47d39e14fc5141e3059d16544002031b06 100644 (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