static const char* aac_suffixes[] = {"m4a", NULL};
/** the init function of the aac audio format handler */
-void aac_afh_init(void *p)
+void aac_afh_init(struct audio_format_handler *p)
{
af = p;
af->reposition_stream = aac_reposition_stream;
*
* Must initialize all function pointers and is assumed to succeed.
*/
- void (*init)(void*);
+ void (*init)(struct audio_format_handler*);
/**
* period of time between sending data chunks
*/
}
static const char* mp3_suffixes[] = {"mp3", NULL};
-void mp3_init(void *p)
+void mp3_init(struct audio_format_handler *p)
{
af = p;
af->get_file_info = mp3_get_file_info;
}
static const char* ogg_suffixes[] = {"ogg", NULL};
-void ogg_init(void *p)
+void ogg_init(struct audio_format_handler *p)
{
af = p;
af->reposition_stream = ogg_reposition_stream;