Now that all audio format handlers use mmap(), this parameter is unused.
/*
* Init m4a file and write some tech data to given pointers.
*/
-static int aac_get_file_info(__a_unused FILE *file, char *map, off_t numbytes,
+static int aac_get_file_info(char *map, off_t numbytes,
struct audio_format_info *afi)
{
int i;
*
* \sa struct audio_format_info
*/
- int (*get_file_info)(FILE *audio_file, char *map, off_t numbytes,
+ int (*get_file_info)(char *map, off_t numbytes,
struct audio_format_info *afi);
};
/*
* Read mp3 information from audio file
*/
-static int mp3_get_file_info(FILE *file, char *map, off_t numbytes,
+static int mp3_get_file_info(char *map, off_t numbytes,
struct audio_format_info *afi)
{
int ret;
/*
* Init oggvorbis file and write some tech data to given pointers.
*/
-static int ogg_get_file_info(FILE *file, char *map, off_t numbytes,
+static int ogg_get_file_info(char *map, off_t numbytes,
struct audio_format_info *afi)
{
int ret;
static int get_file_info(int i)
{
- return afl[i].get_file_info(audio_file, map, mmd->size, &mmd->afi);
+ return afl[i].get_file_info(map, mmd->size, &mmd->afi);
}
/**