# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.50])
-AC_INIT([shairport-sync], [2.8.2], [mikebrady@eircom.net])
+AC_INIT([shairport-sync], [2.8.3], [mikebrady@eircom.net])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([shairport.c])
AC_CONFIG_HEADERS([config.h])
/* Get the regtype -- the service type and protocol, separated by a dot. Default is "_raop._tcp" */
if (config_lookup_string(config.cfg, "general.regtype", &str))
config.regtype = strdup(str);
- else
- config.regtype = strdup("_raop._tcp");
/* Get the volume range, in dB, that should be used If not set, it means you just use the range set by the mixer. */
config.metadata_pipename=strdup("/tmp/shairport-sync-metadata");
#endif
+/* if the regtype hasn't been set, do it now */
+ if (config.regtype==NULL)
+ config.regtype = strdup("_raop._tcp");
if (tdebuglev!=0)
debuglev = tdebuglev;