diff options
author | waker <wakeroid@gmail.com> | 2009-09-03 21:48:05 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-09-03 21:48:05 +0200 |
commit | c92e90a5159ac7a81b6f859b16779cea804707ef (patch) | |
tree | b28fb395317d9752e8290d8bf8595179e1551553 /junklib.h | |
parent | bdd655e1d6dc660a81529ba06b82f91670d11d6f (diff) |
tag reader is now exposed through plugin API; fixed some mp3 parsing problems
Diffstat (limited to 'junklib.h')
-rw-r--r-- | junklib.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/junklib.h b/junklib.h new file mode 100644 index 00000000..b2e1997b --- /dev/null +++ b/junklib.h @@ -0,0 +1,37 @@ +/* + DeaDBeeF - ultimate music player for GNU/Linux systems with X11 + Copyright (C) 2009 Alexey Yakovenko + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef __JUNKLIB_H +#define __JUNKLIB_H + +#include <stdio.h> + +struct playItem_s; + +int +junk_read_id3v1 (struct playItem_s *it, FILE *fp); + +int +junk_read_id3v2 (struct playItem_s *it, FILE *fp); + +int +junk_read_ape (struct playItem_s *it, FILE *fp); + +int +junk_get_leading_size (FILE *fp); + +#endif // __JUNKLIB_H |