#include "server.h"
#include <sys/time.h> /* gettimeofday */
#include "server.cmdline.h"
-#include "db.h"
+#include "afs.h"
#include "afh.h"
#include "vss.h"
#include "send.h"
.name = NULL,
}
};
+
+/** iterate over each supported audio format */
#define FOR_EACH_AUDIO_FORMAT(i) for (i = 0; afl[i].name; i++)
/**
return NULL;
return afl[mmd->audio_format].get_header_info(header_len);
}
+
+/**
+ * get the list of all supported audio formats
+ *
+ * \return a space separated list of all supported audio formats
+ * It is not allocated at runtime, i.e. there is no need to free
+ * the returned string in the caller.
+ */
const char *supported_audio_formats(void)
{
return SUPPORTED_AUDIO_FORMATS;