summaryrefslogtreecommitdiff
path: root/dacp.h
diff options
context:
space:
mode:
authorMike Brady <mikebradydublin@icloud.com>2020-02-20 21:32:35 +0000
committerMike Brady <mikebradydublin@icloud.com>2020-02-20 21:32:35 +0000
commit02224666dae921720ca6e3e87566e6379e1e60aa (patch)
treea071139214cabf7bdc2a4ce26e8a96ad8736cb6c /dacp.h
parentcfb491ec9e01489e9bb4e01f0fedf236de5ed395 (diff)
Squashed commit of the following:
Don't use strndup as old versions of OpenWrt don't seem to have it Update FREEBSD.md Fix comparison between old and new metadata strings by checking they have equal lengths as well. Remove a redundant definition to prevent use on an uninitialised copy, clean up some of the less-used backends Remove some unwanted and unused variable declarations from audio_dummy.c and audio_soundio.c Add the -fno-common flag to compilation. Treat the "mper" attribute as the 64-bit item that it is rather than a 32-bit item as hithereto. Output it as a hexadecimal number to correspond with the format of the track id obtained from AppleScript Make changes to that it compiles under gcc-10 with -fno-common Add a SIGCHLD handler to reap zombie processes generated after script invocations where wait_for_completion is set to "no". Update and rename CONTRIBUTING.md to REPORTING ISSUES.md Add a few more commands and clarify some text. Change from talking about a server to talking about a client. Technically, e.g. iTunes is a client of Shairport Sync. Store the UserAgent so as to recognise forked-daapd so as to always send a revision_number of 1 when asking for playerstatus of forked-daapd. Add or update some of the copyright notices Add the ability to set the volume directly to the D-Bus RemoteControl interface and to the MPRIS interface. Both use the recently-discovered ability to set the device_volume. Merge in Pieter De Gendt's work on resampling on the jack backend. Merge pull request #939 from pdgendt/feature/jack-soxr-resampling Add SetAirplayVolume to the D-Bus RemoteControl interface. Add SetVolume to the MPRIS interface. Hook up the Volume property in the MPRIS interface. Modify RemoteCommand in the D-Bus interface to return the HTTP status and response. Change the type of airplay_volume from int to double in the metadata hub. Add a few sample commands in the D-Bus document.
Diffstat (limited to 'dacp.h')
-rw-r--r--dacp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dacp.h b/dacp.h
index ce1e127..ea44aac 100644
--- a/dacp.h
+++ b/dacp.h
@@ -32,6 +32,8 @@ void relinquish_dacp_server_information(rtsp_conn_info *conn); // tell the DACP
// longer associated with it.
void dacp_monitor_port_update_callback(
char *dacp_id, uint16_t port); // a callback to say the port is no longer in use
+
+int dacp_send_command(const char *command, char **body, ssize_t *bodysize);
int send_simple_dacp_command(const char *command);
int dacp_set_include_speaker_volume(int64_t machine_number, int32_t vo);