#ifdef HAVE_SPEEX
void spx_afh_init(struct audio_format_handler *);
#endif
+#ifdef HAVE_FLAC
+ void flac_afh_init(struct audio_format_handler *);
+#endif
void wma_afh_init(struct audio_format_handler *);
/**
.name = "spx",
#ifdef HAVE_SPEEX
.init = spx_afh_init,
+#endif
+ },
+ {
+ .name = "flac",
+#ifdef HAVE_FLAC
+ .init = flac_afh_init,
#endif
},
{
*
* \param i The audio format number.
*
- * This returns a pointer to statically allocated memory so it
+ * \return This returns a pointer to statically allocated memory so it
* must not be freed by the caller.
*/
const char *audio_format_name(int i)