Commit Graph
29 Commits
Author SHA1 Message Date
Mike Brady 08a7d4ffb5 Use snprintf in place of sprintf. 2018-04-08 15:36:05 +01:00
Mike Brady 8bf83c149f 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:42:46 +01:00
Mike Brady cb69c1dd2e Take in track metadata but discard it if it's invalid (i.e. has a given mper ID of 0. 2018-04-01 16:09:53 +01:00
Mike Brady 07b7e64a48 Fix some of the advanced remote code 2018-04-01 13:54:41 +01:00
Mike Brady 69b3b5d776 Send rtsp events to the metadata thteread for handling. Begin to clean up signals. 2018-03-31 12:39:26 +01:00
Mike Brady 8094bb4d6f Remove unneeded check for initialisation. 2018-03-29 17:23:22 +01:00
Mike Brady 051326b488 Quieten some unnecessary D-Bus property-changed chatter 2018-03-29 17:17:50 +01:00
Mike Brady cbbe84d8ba Add some more D-Bus facilities. Countermand faulty D-Bus commands. 2018-03-24 17:48:32 +00:00
Mike Brady 03aefda050 Reorder stuff when the dbus interface is being initialised to hok up the responses before making any changes 2018-03-23 21:39:47 +00:00
Mike Brady 340e365a62 Format after adding a few new elements ot the native dbus interface 2018-03-23 21:29:38 +00:00
Mike Brady 6dc30c6ca9 Add a few new elements ot the native dbus interface 2018-03-23 21:28:28 +00:00
Mike Brady 8453778a13 Move DACP volume detection and control to a new Advanced Remote Control D-Bus stanza. 2018-03-21 22:37:35 +00:00
Mike Brady 49a9cb9dfc Remove the work "basic" from descriptions of the remote control. 2018-03-20 17:00:50 +00:00
Mike Brady d692fab9e4 Clean up native dbus interface files and associated changes to existing files. 2018-03-20 16:31:59 +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 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 9d9b0a1824 Add a Shairport Sync Diagnostics DBus Onject, only part working 2018-03-10 17:01:42 +00:00
Mike Brady 39f159bf9e Split volume function into read-only property and a method for setting it. Making the property read-write is too awkward and kludgy. 2018-03-10 13:56:44 +00:00
Mike Brady 5ba343bbf0 On receipt of a notify volume change, only send it to the dacp device if it's different to the posted volume -- stops loops 2018-03-09 16:27:20 +00:00
Mike Brady 47fff82dd2 Getting the volume properties to work without feedback -- not there yet... 2018-03-09 09:25:49 +00:00
Mike Brady 8991f3420c Remove many causes of warnings at the -Wextra level 2018-03-07 20:48:21 +00:00
Mike Brady c36a7822a3 Tidy up using clang-format 2018-03-07 14:35:25 +00:00
Mike Brady 73bf006c12 Add lots of debug messages, begin to use correctly sized PRId64 and friends in sprintf commands, begin to remove some simple causes of warnings. 2018-03-06 08:50:34 +00:00
Mike Brady c025bf008e Hook up the dbus metadata watcher and the dacp volume control stuff. 2018-03-04 17:43:43 +00:00
Mike Brady f3ef6b5e05 Quieten some debug messages and make others a bit more informative 2018-02-19 20:55:35 +00:00
Mike Brady a5862a9c08 Fix a few compilation errors 2018-02-18 16:54:30 +00:00
Mike Brady 1637a79dd6 Add tinyhttp code for sending and reading responses. Clean up some dacp routines. Most new and modified rooutines untested. 2017-12-18 18:50:01 +00:00
Mike Brady bafdd94e33 Clang-format 2017-11-19 21:41:11 +00:00
Mike Brady df7c48f0f3 Clean up naming of some files, get the 'stop' command working 2017-11-19 21:16:36 +00:00