···197197 each and returns a pointer to the allocated memory. The memory is set to
198198 zero.
199199200200-ID3
201201-202202- #include <id3.h>
203203- bool mp3info(mp3entry *entry, char *filename);
204204-205205- Return FALSE if successful. The given mp3entry is then filled in with
206206- whatever id3 info it could find about the given file.
207207-208200Various
209201210202 #include <kernel.h>
-7
docs/PLUGIN_API
···13241324 \return
13251325 \description
1326132613271327-bool mp3info(struct mp3entry *entry, const char *filename)
13281328- \group misc
13291329- \param entry
13301330- \param filename
13311331- \return FALSE if successfull
13321332- \description The given =entry= is filled in with whatever id3 info it could find about the given =filename=
13331333-13341327void mutex_init(struct mutex *m)
13351328 \group kernel/ system
13361329 \param m
···399399 return AFMT_UNKNOWN;
400400}
401401402402-/* Note, that this returns false for successful, true for error! */
403403-bool mp3info(struct mp3entry *entry, const char *filename)
404404-{
405405- return !get_metadata(entry, -1, filename);
406406-}
407407-408402/* Get metadata for track - return false if parsing showed problems with the
409403 * file that would prevent playback. supply a filedescriptor <0 and the file will be opened
410404 * and closed automatically within the get_metadata call