Mike Brady
f9845d017b
Fix problem when reconnecting to an itunes play session.
2018-04-03 22:32:43 +01:00
Mike Brady
d34e707e0c
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.
2018-04-02 16:43:27 +01:00
Mike Brady
a4c99de7ba
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
2018-03-31 17:35:30 +01:00
Mike Brady
f306537a8f
Add some more D-Bus facilities. Countermand faulty D-Bus commands.
2018-03-24 17:50:37 +00:00
Mike Brady
89d4712e69
Add a few new elements ot the native dbus interface
2018-03-23 21:40:05 +00:00
Mike Brady
c0b1dc542a
Rationalise all the native dbus intefaces files down to just three.
2018-03-20 16:28:06 +00:00
Mike Brady
c47e93944b
Add most of a basic remote control dbus interface
2018-03-19 17:31:31 +00:00
Mike Brady
720a86630a
Begin to add a basic remote control interface corresponding to the set of commands AirPlay devices seem to obey.
2018-03-17 19:43:10 +00:00
Mike Brady and GitHub
b89e7531d1
Update configure.ac
2018-03-12 22:02:11 +00:00
Mike Brady
9d9b0a1824
Add a Shairport Sync Diagnostics DBus Onject, only part working
2018-03-10 17:01:42 +00:00
Mike Brady and GitHub
63405213bd
Update configure.ac
2018-02-18 17:58:48 +00:00
Mike Brady
27e6124c36
Check for missing packets only once, approximately 250 ms after they should have arrived. They may take a good half second to be resent.
2018-02-13 17:20:52 +00:00
Mike Brady
9264f3a8e9
Include the -pthread flag -- including the pthread library with -lpthread isn't always enough
2018-02-13 17:17:37 +00:00
Mike Brady
283e4930e8
Add support for OpenBSD compilation
2018-02-09 21:11:39 +00:00
Mike Brady
4f9ac47a73
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
2018-02-03 21:02:48 +00:00
Mike Brady
6f0991f070
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.
2018-01-31 19:57:43 +00:00
Mike Brady and GitHub
1bf379c6b8
Update configure.ac
...
Add a volume_control_profile setting
2018-01-29 23:07:28 +00:00
Mike Brady
598cacb1b9
Take advantage of the mute capability of a device that mutes at its lowest setting
2018-01-13 20:16:14 +00:00
Mike Brady and GitHub
09b4930871
Update configure.ac
2018-01-09 21:04:44 +00:00
Mike Brady
065eada6b5
Separate out metadata hub, dacp client, mpris and dbus interfaces a bit. Probably not finished.
2018-01-09 15:56:06 +00:00
Mike Brady
a9d07cd7fd
Add tinyhttp code for sending and reading responses. Clean up some dacp routines. Most new and modified rooutines untested.
2017-12-18 18:51:12 +00:00
Mike Brady
e0a30a6961
Fix segmentation fault bug when a client's DACP status is withdrawn. Not enough testing...
2017-12-13 23:46:49 +00:00
Mike Brady
7111a6be4b
Add some infrastructure to print message contents and so send reply messages with content. Add compatability with Swinsian
2017-12-12 11:57:23 +00:00
Mike Brady
e7843b9e82
More comprhensive saving and restoring of hardware and software level when a session is stopped and started. Does hardware as well as software.
2017-12-11 16:33:06 +00:00
Mike Brady
808c2e647a
Improve the sync between AirPlay and movies like YouTube. Not sure we understand the negotiation for syncing.
2017-12-10 22:27:31 +00:00
Mike Brady
65f2592129
Store the last software volume setting so that it can become the default when the next play sessions starts. This is important if a starting volume is not always given, a new phenomenon in iOS 11.2 and macOS 10.13.2
2017-12-09 20:15:19 +00:00
Mike Brady
047df480c8
Make some additions to audio_pa to emit error messages before it dies
2017-12-06 21:00:08 +00:00
Mike Brady
492f365ab5
Fix a small conflict in mdns_avahi.c
2017-12-04 08:48:04 +00:00
Mike Brady
2c74e7d0bc
Fiel small metadat bug, make more intermediate progress with d-bus stuff
2017-12-04 08:42:35 +00:00
Mike Brady
e0ecdac91a
Fix compilation bug if dbus or mpris not selected
2017-11-27 11:26:23 +00:00
Mike Brady and GitHub
15198a499d
Update configure.ac
2017-11-23 15:38:58 +00:00
Mike Brady
df7c48f0f3
Clean up naming of some files, get the 'stop' command working
2017-11-19 21:16:36 +00:00
Mike Brady
67dfe591d0
Reorganise D-BUS interface code and introduce an MPRIS interface.
2017-11-19 16:14:53 +00:00
Mike Brady
74f41a1769
Reorganise D-BUS interface code and introduce an MPRIS interface.
2017-11-19 16:08:39 +00:00
Mike Brady
d4eae76f33
dbus-related files taken from directories and renamed
2017-11-12 15:45:29 +01:00
Mike Brady
3198ec4265
Improve dbus and add some dacp services
2017-11-12 14:26:10 +01:00
Mike Brady
6f8bd1a6e5
Bump to indicate cleanup of configuration files and fixup of installation for dbus stuff.
2017-10-09 10:47:17 +01:00
Mike Brady
3da6f449d1
Remove the need for the AS_AC_EXPAND macro and remove the m4 subdirectory containing it
2017-10-09 10:40:12 +01:00
Mike Brady
1e0d0944c0
Tidy up configure.ac and drop old pulseaudio back end
2017-10-09 09:38:35 +01:00
Mike Brady
87bf5e87ac
Add avahi code to look for the rmeote control information for the client and get the port number from it.
2017-10-05 17:40:51 +01:00
Mike Brady
3d3dc6ba68
Try to regenerate the PID directory if it doesn't exist
2017-09-25 18:10:07 +01:00
Mike Brady
82f2683cfe
Add a hint about where to find glib libraries
2017-09-10 14:14:32 +01:00
Mike Brady
7fe86e6e7f
Add very very experimental and exploratory systembus dbus support -- subject to change or removal
2017-09-10 13:20:32 +01:00
Mike Brady
1e07e1e0ef
Add very very experimental and exploratory systembus dbus support -- subject to change or removal
2017-09-10 13:19:56 +01:00
Mike Brady
dc66b4c98d
3.1.2 becomes 3.2d6
2017-09-09 15:59:27 +01:00
Mike Brady
b40e00223f
Move 3.2d5 to 3.1.2
2017-09-05 17:32:37 +01:00
Mike Brady and GitHub
8de242d88c
Add some checks
...
Using [infer](https://github.com/facebook/infer/blob/master/README.md ), a number of silent issues have been detected, such as not checking some calls to `malloc` to ensure the response is not NULL. Most of these have been addressed by additional checks.
2017-09-04 11:08:49 +01:00
Mike Brady
aee7d00593
Change default of using alsa mute switch to "no" for compatability with other audio players.
2017-09-02 17:17:49 +01:00
Mike Brady
425c4ba0f8
Improve debug messages
2017-08-28 12:14:30 +01:00
Mike Brady
86d862e849
Allow the player thread variable to be a null to indicate presence or absence of player thread
2017-08-25 22:00:15 +01:00