typedef void afh_init_func(struct audio_format_handler *);
/* It does not hurt to declare init functions which are not available. */
-extern afh_init_func mp3_init, ogg_init, aac_afh_init, wma_afh_init,
+extern afh_init_func mp3_afh_init, ogg_afh_init, aac_afh_init, wma_afh_init,
spx_afh_init, flac_afh_init, opus_afh_init;
/** The list of all status items */
static struct audio_format_handler afl[] = {
{
.name = "mp3",
- .init = mp3_init,
+ .init = mp3_afh_init,
},
{
.name = "ogg",
#if defined(HAVE_OGG) && defined(HAVE_VORBIS)
- .init = ogg_init,
+ .init = ogg_afh_init,
#endif
},
{
*
* \param afh pointer to the struct to initialize
*/
-void mp3_init(struct audio_format_handler *afh)
+void mp3_afh_init(struct audio_format_handler *afh)
{
afh->get_file_info = mp3_get_file_info;
afh->suffixes = mp3_suffixes;
*
* \param afh Pointer to the struct to initialize.
*/
-void ogg_init(struct audio_format_handler *afh)
+void ogg_afh_init(struct audio_format_handler *afh)
{
afh->get_file_info = ogg_vorbis_get_file_info;
afh->get_header = vorbis_get_header;