From 7111a6be4b70578ac28f597347ca7c59cc1e14d8 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Tue, 12 Dec 2017 11:57:23 +0000 Subject: Add some infrastructure to print message contents and so send reply messages with content. Add compatability with Swinsian --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 8a61b60..1163d3c 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d18], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d19], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From e0a30a6961b294073e2a947ba2e1b1753271b36f Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Wed, 13 Dec 2017 23:46:49 +0000 Subject: Fix segmentation fault bug when a client's DACP status is withdrawn. Not enough testing... --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1163d3c..7b308aa 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d19], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d20], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From a9d07cd7fdbd4f6629cc972926463fe100bd3cfe Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 18 Dec 2017 18:51:12 +0000 Subject: Add tinyhttp code for sending and reading responses. Clean up some dacp routines. Most new and modified rooutines untested. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7b308aa..fc42407 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d20], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d21], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From 065eada6b54f479511025b21cefef881b87ede76 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Tue, 9 Jan 2018 15:56:06 +0000 Subject: Separate out metadata hub, dacp client, mpris and dbus interfaces a bit. Probably not finished. --- configure.ac | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index fc42407..beea498 100644 --- a/configure.ac +++ b/configure.ac @@ -266,7 +266,7 @@ AC_ARG_WITH(dns_sd, [ --with-dns_sd = choose dns_sd mDNS support], [ AM_CONDITIONAL([USE_DNS_SD], [test "x$HAS_DNS_SD" = "x1"]) # Look for dbus flag -AC_ARG_WITH(dbus, [ --with-dbus = choose dbus support], [ +AC_ARG_WITH(dbus, [ --with-dbus-interface = include support for a native Shairport Sync D-Bus interface], [ AC_MSG_RESULT(>>Including dbus support) HAS_DBUS=1 AC_DEFINE([HAVE_DBUS], 1, [Needed by the compiler.]) @@ -279,14 +279,14 @@ AC_ARG_WITH(dbus-test-client, [ --with-dbus-test-client = compile dbus test cli AC_MSG_RESULT(>>Including dbus test client) HAS_DBUS_CLIENT=1 AC_DEFINE([HAVE_DBUS_CLIENT], 1, [Needed by the compiler.]) - AC_DEFINE([CONFIG_DACP], 1, [Needed by the compiler.]) +# AC_DEFINE([CONFIG_DACP], 1, [Needed by the compiler.]) PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.30.0],[CFLAGS="${GIO_UNIX_CFLAGS} ${CFLAGS}" LIBS="${GIO_UNIX_LIBS} ${LIBS}"],[AC_MSG_ERROR(dbus client support requires the glib 2.0 library -- libglib2.0-dev suggested!)]) ], ) AM_CONDITIONAL([USE_DBUS_CLIENT], [test "x$HAS_DBUS_CLIENT" = "x1"]) # Look for mpris flag -AC_ARG_WITH(mpris, [ --with-mpris = choose mpris support], [ - AC_MSG_RESULT(>>Including mpris support) +AC_ARG_WITH(mpris, [ --with-mpris-interface = include support for a Shairport Sync D-Bus interface conforming to the MPRIS standard], [ + AC_MSG_RESULT(>>Including the MPRIS D-Bus Interface) HAS_MPRIS=1 AC_DEFINE([HAVE_MPRIS], 1, [Needed by the compiler.]) AC_DEFINE([CONFIG_DACP], 1, [Needed by the compiler.]) @@ -303,7 +303,19 @@ AC_ARG_WITH(mpris-test-client, [ --with-mpris-test-client = compile mpris test ], ) AM_CONDITIONAL([USE_MPRIS_CLIENT], [test "x$HAS_MPRIS_CLIENT" = "x1"]) -AM_CONDITIONAL([USE_DBUS_CORE_AND_DACP], [test "x$HAS_MPRIS" = "x1" -o "x$HAS_DBUS" = "x1"]) +#AM_CONDITIONAL([USE_DBUS_CORE_AND_DACP], [test "x$HAS_MPRIS" = "x1" -o "x$HAS_DBUS" = "x1"]) + +if test "x$HAS_MPRIS" = "x1" -o "x$HAS_DBUS" = "x1" ; then + AC_MSG_RESULT(>>Including the metadata hub) + HAS_METADATA_HUB=1 + AC_DEFINE([HAVE_METADATA_HUB], 1, [Needed by the compiler.]) + AC_MSG_RESULT(>>Including the DACP client) + HAS_DACP_CLIENT=1 + AC_DEFINE([HAVE_DACP_CLIENT], 1, [Needed by the compiler.]) +fi +AM_CONDITIONAL([USE_METADATA_HUB], [test "x$HAS_METADATA_HUB" = "x1"]) +AM_CONDITIONAL([USE_DACP_CLIENT], [test "x$HAS_DACP_CLIENT" = "x1"]) + if test "x${with_systemd}" = xyes ; then # Find systemd unit dir -- cgit v1.2.3 From 09b4930871640eb524d10fc3a05eed496a03e5a6 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Tue, 9 Jan 2018 21:04:44 +0000 Subject: Update configure.ac --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index beea498..331c20d 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d21], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d22], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From 598cacb1b96db25e0556a33f7d49b5d881084a56 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 13 Jan 2018 20:16:14 +0000 Subject: Take advantage of the mute capability of a device that mutes at its lowest setting --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 331c20d..40f90d2 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d22], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d23], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From 1bf379c6b8981c18a7d7889e6ee5329defe5b6cc Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 29 Jan 2018 23:07:28 +0000 Subject: Update configure.ac Add a volume_control_profile setting --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 40f90d2..d491d60 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d23], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d24], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From 6f0991f070a0f36eb17bc6e9032d037e606c3c3c Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Wed, 31 Jan 2018 19:57:43 +0000 Subject: watch for an error or unexpected channel closure, try five times, waiting 20 ms in between tries before giving up and issuing a debug message if problems. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d491d60..c362579 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d24], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d25], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From 4f9ac47a73ae70cd8021303dcbc07dc9b24086b2 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 3 Feb 2018 21:02:48 +0000 Subject: Add timing to debug messages, make timing sender wait interruptable every 20 ms, thus making TEARDOWN faster. Remove 100 mS delay fudge at the close of a player thread. Probably don't need it. Also note prior move of player_play to RECORD from SETUP, I think --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c362579..f788b2a 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d25], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d26], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From 283e4930e85fcd3a7bbff03ac2349ddf019eb07d Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Fri, 9 Feb 2018 21:11:39 +0000 Subject: Add support for OpenBSD compilation --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f788b2a..dec61a3 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,13 @@ if test "x${with_os}" = xlinux -o "x${with_os}" = xfreebsd ; then AC_CHECK_LIB([rt],[clock_gettime], , AC_MSG_ERROR(librt needed)) fi -AM_CONDITIONAL([BUILD_FOR_FREEBSD], [test "x${with_os}" = xfreebsd ]) +if test "x${with_os}" = xopenbsd ; then + AC_CHECK_LIB([c],[clock_gettime], , AC_MSG_ERROR(libc needed)) +fi + + AM_CONDITIONAL([BUILD_FOR_FREEBSD], [test "x${with_os}" = xfreebsd ]) + +AM_CONDITIONAL([BUILD_FOR_OPENBSD], [test "x${with_os}" = xopenbsd ]) ##### Some build systems are not fully using pkg-config, so we can use the flag ${with_pkg_config} on a case-by-case basis ##### to control how to deal with them -- cgit v1.2.3 From 9264f3a8e98d9152549eccc152968b1003e47fc2 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Tue, 13 Feb 2018 17:17:37 +0000 Subject: Include the -pthread flag -- including the pthread library with -lpthread isn't always enough --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index dec61a3..b81b2fe 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,9 @@ else AC_CHECK_LIB([daemon],[daemon_fork], , AC_MSG_ERROR(libdaemon needed)) fi +##### The following check for the pthreads library doesn't put the compiler into the correct pthread mode +##### so we add the -pthread compilation flag in AMFLAGS in the Makefile.am as well. + AC_CHECK_LIB([pthread],[pthread_create], , AC_MSG_ERROR(pthread library needed)) AC_CHECK_LIB([m],[exp], , AC_MSG_ERROR(maths library needed)) -- cgit v1.2.3 From 27e6124c36ba5cefc98fe8a131475506a58a5244 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Tue, 13 Feb 2018 17:20:52 +0000 Subject: Check for missing packets only once, approximately 250 ms after they should have arrived. They may take a good half second to be resent. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b81b2fe..356e337 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d26], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d27], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From 63405213bde5c2cf45c1260c8db86db7df846c27 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sun, 18 Feb 2018 17:58:48 +0000 Subject: Update configure.ac --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 356e337..c033ade 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d27], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d28], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From 9d9b0a1824d15b5c5695783c7e26bf71b687a415 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 10 Mar 2018 17:01:42 +0000 Subject: Add a Shairport Sync Diagnostics DBus Onject, only part working --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c033ade..6bef971 100644 --- a/configure.ac +++ b/configure.ac @@ -279,9 +279,12 @@ AC_ARG_WITH(dbus, [ --with-dbus-interface = include support for a native Shairp AC_MSG_RESULT(>>Including dbus support) HAS_DBUS=1 AC_DEFINE([HAVE_DBUS], 1, [Needed by the compiler.]) + AC_DEFINE([HAVE_DBUS_DIAGNOSTICS], 1, [Needed by the compiler.]) PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.30.0],[CFLAGS="${GIO_UNIX_CFLAGS} ${CFLAGS}" LIBS="${GIO_UNIX_LIBS} ${LIBS}"],[AC_MSG_ERROR(dbus messaging support requires the glib 2.0 library -- libglib2.0-dev suggested!)]) ], ) AM_CONDITIONAL([USE_DBUS], [test "x$HAS_DBUS" = "x1"]) +# Automatically include the diagnostics interface +AM_CONDITIONAL([USE_DBUS_DIAGNOSTICS], [test "x$HAS_DBUS" = "x1"]) # Look for dbus test client flag AC_ARG_WITH(dbus-test-client, [ --with-dbus-test-client = compile dbus test client], [ -- cgit v1.2.3 From b89e7531d14ba595e60ca5094bfd783f99ed4a60 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 12 Mar 2018 22:02:11 +0000 Subject: Update configure.ac --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6bef971..62d9d76 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d28], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d29], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From 720a86630a689336e721fb69a4f5b9ac4a155d69 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 17 Mar 2018 19:43:10 +0000 Subject: Begin to add a basic remote control interface corresponding to the set of commands AirPlay devices seem to obey. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 62d9d76..88a9efc 100644 --- a/configure.ac +++ b/configure.ac @@ -280,11 +280,14 @@ AC_ARG_WITH(dbus, [ --with-dbus-interface = include support for a native Shairp HAS_DBUS=1 AC_DEFINE([HAVE_DBUS], 1, [Needed by the compiler.]) AC_DEFINE([HAVE_DBUS_DIAGNOSTICS], 1, [Needed by the compiler.]) + AC_DEFINE([HAVE_DBUS_BASIC_REMOTE_CONTROL], 1, [Needed by the compiler.]) PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.30.0],[CFLAGS="${GIO_UNIX_CFLAGS} ${CFLAGS}" LIBS="${GIO_UNIX_LIBS} ${LIBS}"],[AC_MSG_ERROR(dbus messaging support requires the glib 2.0 library -- libglib2.0-dev suggested!)]) ], ) AM_CONDITIONAL([USE_DBUS], [test "x$HAS_DBUS" = "x1"]) # Automatically include the diagnostics interface AM_CONDITIONAL([USE_DBUS_DIAGNOSTICS], [test "x$HAS_DBUS" = "x1"]) +# Automatically include the basic remote control interface +AM_CONDITIONAL([USE_DBUS_BASIC_REMOTE_CONTROL], [test "x$HAS_DBUS" = "x1"]) # Look for dbus test client flag AC_ARG_WITH(dbus-test-client, [ --with-dbus-test-client = compile dbus test client], [ -- cgit v1.2.3 From c47e93944b6b3183d105c6fd6158a7aaa20296f2 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 19 Mar 2018 17:31:31 +0000 Subject: Add most of a basic remote control dbus interface --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 88a9efc..2c2950b 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d29], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d30], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From c0b1dc542ac15083ac0329b962aed3870bf36250 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Tue, 20 Mar 2018 16:28:06 +0000 Subject: Rationalise all the native dbus intefaces files down to just three. --- configure.ac | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2c2950b..8a4d6fa 100644 --- a/configure.ac +++ b/configure.ac @@ -275,19 +275,13 @@ AC_ARG_WITH(dns_sd, [ --with-dns_sd = choose dns_sd mDNS support], [ AM_CONDITIONAL([USE_DNS_SD], [test "x$HAS_DNS_SD" = "x1"]) # Look for dbus flag -AC_ARG_WITH(dbus, [ --with-dbus-interface = include support for a native Shairport Sync D-Bus interface], [ +AC_ARG_WITH(dbus, [ --with-dbus-interface = include support for the native Shairport Sync D-Bus interface], [ AC_MSG_RESULT(>>Including dbus support) HAS_DBUS=1 AC_DEFINE([HAVE_DBUS], 1, [Needed by the compiler.]) - AC_DEFINE([HAVE_DBUS_DIAGNOSTICS], 1, [Needed by the compiler.]) - AC_DEFINE([HAVE_DBUS_BASIC_REMOTE_CONTROL], 1, [Needed by the compiler.]) PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.30.0],[CFLAGS="${GIO_UNIX_CFLAGS} ${CFLAGS}" LIBS="${GIO_UNIX_LIBS} ${LIBS}"],[AC_MSG_ERROR(dbus messaging support requires the glib 2.0 library -- libglib2.0-dev suggested!)]) ], ) AM_CONDITIONAL([USE_DBUS], [test "x$HAS_DBUS" = "x1"]) -# Automatically include the diagnostics interface -AM_CONDITIONAL([USE_DBUS_DIAGNOSTICS], [test "x$HAS_DBUS" = "x1"]) -# Automatically include the basic remote control interface -AM_CONDITIONAL([USE_DBUS_BASIC_REMOTE_CONTROL], [test "x$HAS_DBUS" = "x1"]) # Look for dbus test client flag AC_ARG_WITH(dbus-test-client, [ --with-dbus-test-client = compile dbus test client], [ -- cgit v1.2.3 From 89d4712e692638f222a142cf5ca4a097e408a2de Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Fri, 23 Mar 2018 21:40:05 +0000 Subject: Add a few new elements ot the native dbus interface --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 8a4d6fa..edc367d 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d30], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d31], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From f306537a8fe1f97c44c950820c3181fd02e41120 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 24 Mar 2018 17:50:37 +0000 Subject: Add some more D-Bus facilities. Countermand faulty D-Bus commands. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index edc367d..aa29df6 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d31], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d32], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From a4c99de7baacaef12a0ba74db4ebbe7eee480dcc Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 31 Mar 2018 17:35:30 +0100 Subject: Make scanning for DACP port part of the dacp handler. Only emit 'clip' and 'svip' for a play connection, suppress 'pfls' until 'pffr' has been emitted --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index aa29df6..eb0ce32 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d32], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d33], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From d34e707e0cb14d285b919e935bb18caecb3b71f9 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 2 Apr 2018 16:43:27 +0100 Subject: Modify latency detection to use the second word of a sync packet to decide whether to add an extra delay or not. Use all sync packets, not just one with the exception flag. Use 1024 buffers -- a bit profligate, but hey. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index eb0ce32..5783714 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d33], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d34], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3 From f9845d017b08a2363e55b44b91b7c71d86ab553c Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Tue, 3 Apr 2018 22:32:43 +0100 Subject: Fix problem when reconnecting to an itunes play session. --- configure.ac | 2 -- 1 file changed, 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5783714..5e68f98 100644 --- a/configure.ac +++ b/configure.ac @@ -288,7 +288,6 @@ AC_ARG_WITH(dbus-test-client, [ --with-dbus-test-client = compile dbus test cli AC_MSG_RESULT(>>Including dbus test client) HAS_DBUS_CLIENT=1 AC_DEFINE([HAVE_DBUS_CLIENT], 1, [Needed by the compiler.]) -# AC_DEFINE([CONFIG_DACP], 1, [Needed by the compiler.]) PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.30.0],[CFLAGS="${GIO_UNIX_CFLAGS} ${CFLAGS}" LIBS="${GIO_UNIX_LIBS} ${LIBS}"],[AC_MSG_ERROR(dbus client support requires the glib 2.0 library -- libglib2.0-dev suggested!)]) ], ) AM_CONDITIONAL([USE_DBUS_CLIENT], [test "x$HAS_DBUS_CLIENT" = "x1"]) @@ -298,7 +297,6 @@ AC_ARG_WITH(mpris, [ --with-mpris-interface = include support for a Shairport S AC_MSG_RESULT(>>Including the MPRIS D-Bus Interface) HAS_MPRIS=1 AC_DEFINE([HAVE_MPRIS], 1, [Needed by the compiler.]) - AC_DEFINE([CONFIG_DACP], 1, [Needed by the compiler.]) PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.30.0],[CFLAGS="${GIO_UNIX_CFLAGS} ${CFLAGS}" LIBS="${GIO_UNIX_LIBS} ${LIBS}"],[AC_MSG_ERROR(dbus messaging support for mpris requires the glib 2.0 library -- libglib2.0-dev suggested!)]) ], ) AM_CONDITIONAL([USE_MPRIS], [test "x$HAS_MPRIS" = "x1"]) -- cgit v1.2.3 From 1881beb54217506e19791ee33a6b6441560e457a Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 7 Apr 2018 15:27:56 +0100 Subject: Various updates to the DACP scanner. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5e68f98..453d700 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) -AC_INIT([shairport-sync], [3.2d34], [mikebrady@eircom.net]) +AC_INIT([shairport-sync], [3.2d35], [mikebrady@eircom.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([shairport.c]) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.3