summaryrefslogtreecommitdiff
path: root/metadata_hub.h
diff options
context:
space:
mode:
authorMike Brady <4265913+mikebrady@users.noreply.github.com>2020-09-30 14:57:09 +0100
committerMike Brady <4265913+mikebrady@users.noreply.github.com>2020-09-30 15:02:35 +0100
commit54cb9de1836fcb764bbae7397b6f79899f674268 (patch)
tree465c1ae6b578870442c960eb793c6a4768f2bdb2 /metadata_hub.h
parent49084a098311bbad31046dd4ca91afb4a6210d81 (diff)
Handle active_remote_id as a string rather than an unsigned 32-bit number -- seems ROON uses a longer character sequence.
Tidy up some error messages about which backend is selected. Tighten up memory allocatons in DACP.c. Add a default name for the pipe backend: /tmp/shairport-sync-audio Ensure the metadata pipe is created, if necessary, when the --with-metadata option is chosen without dbus or mpris Make the first output backend in the list of backends the default and make its name the default output_name. Clang-format everything Add the word 'jack' to the version string if Jack Audio support is compiled in. Fix a flaw in resyncing -- a flush is set up but not triggered. Open metadata and audio pipes with 666 permissions. Ensure metadata and cover art are enabled if metadata support is included at compilation. Reword some misleading error messages. Set convolution defaults even if no configuration file is found.
Diffstat (limited to 'metadata_hub.h')
-rw-r--r--metadata_hub.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/metadata_hub.h b/metadata_hub.h
index 760a848..bdbbf32 100644
--- a/metadata_hub.h
+++ b/metadata_hub.h
@@ -149,7 +149,9 @@ void metadata_hub_release_track_artwork(void);
// these functions lock and unlock the read-write mutex on the metadata hub and run the watchers
// afterwards
void _metadata_hub_modify_prolog(const char *filename, const int linenumber);
-void _metadata_hub_modify_epilog(int modified, const char *filename, const int linenumber); // set to true if modifications occurred, 0 otherwise
+void _metadata_hub_modify_epilog(
+ int modified, const char *filename,
+ const int linenumber); // set to true if modifications occurred, 0 otherwise
/*
// these are for safe reading
@@ -158,7 +160,8 @@ void _metadata_hub_read_epilog(const char *filename, const int linenumber);
*/
#define metadata_hub_modify_prolog(void) _metadata_hub_modify_prolog(__FILE__, __LINE__)
-#define metadata_hub_modify_epilog(modified) _metadata_hub_modify_epilog(modified, __FILE__, __LINE__)
+#define metadata_hub_modify_epilog(modified) \
+ _metadata_hub_modify_epilog(modified, __FILE__, __LINE__)
#define metadata_hub_read_prolog(void) _metadata_hub_read_prolog(__FILE__, __LINE__)
#define metadata_hub_read_epilog(void) _metadata_hub_modify_epilog(__FILE__, __LINE__)