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.
29 lines
741 B
C
29 lines
741 B
C
#ifndef _RTSP_H
|
|
#define _RTSP_H
|
|
|
|
#include "player.h"
|
|
|
|
extern rtsp_conn_info *playing_conn;
|
|
extern rtsp_conn_info **conns;
|
|
|
|
void rtsp_listen_loop(void);
|
|
// void rtsp_shutdown_stream(void);
|
|
void rtsp_request_shutdown_stream(void);
|
|
|
|
void cancel_all_RTSP_threads(void);
|
|
|
|
// initialise and completely delete the metadata stuff
|
|
|
|
void metadata_init(void);
|
|
void metadata_stop(void);
|
|
|
|
// sends metadata out to the metadata pipe, if enabled.
|
|
// It is sent with the type 'ssnc' the given code, data and length
|
|
// The handler at the other end must know what to do with the data
|
|
// e.g. if it's malloced, to free it, etc.
|
|
// nothing is done automatically
|
|
|
|
int send_ssnc_metadata(uint32_t code, char *data, uint32_t length, int block);
|
|
|
|
#endif // _RTSP_H
|