diff options
author | John Crispin <john@openwrt.org> | 2007-08-27 20:10:35 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2007-08-27 20:10:35 +0000 |
commit | 6c0f55bc68f3d3a7fdd00e61ea7caf2ed4c620a9 (patch) | |
tree | 6d85567a32ef8e795cc4d88fdd545819577d6ad2 /package/fonera-mp3/src/lib/mp3_file.h | |
parent | 79b07af6945064e53ad7c3f0920dabd73cdbd161 (diff) | |
download | upstream-6c0f55bc68f3d3a7fdd00e61ea7caf2ed4c620a9.tar.gz upstream-6c0f55bc68f3d3a7fdd00e61ea7caf2ed4c620a9.tar.bz2 upstream-6c0f55bc68f3d3a7fdd00e61ea7caf2ed4c620a9.zip |
added libjson-c. added driver, webinterface and userspace daemon for the fonera mp3-hack
SVN-Revision: 8509
Diffstat (limited to 'package/fonera-mp3/src/lib/mp3_file.h')
-rw-r--r-- | package/fonera-mp3/src/lib/mp3_file.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/fonera-mp3/src/lib/mp3_file.h b/package/fonera-mp3/src/lib/mp3_file.h new file mode 100644 index 0000000000..1bff352096 --- /dev/null +++ b/package/fonera-mp3/src/lib/mp3_file.h @@ -0,0 +1,31 @@ +/* +* a.lp_mp3 - Open Source Atmel AVR / Fox Board based MP3 Players +* Copyright (c) 2003-2006 K. John '2B|!2B' Crispin +* +* 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, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307USA +* +* Feedback, Bugs.... mail john{AT}phrozen.org +* +*/ + +typedef struct _MP3_FILE_ID3 { + unsigned char album[256]; + unsigned char artist[256]; + unsigned char track[256]; +} MP3_FILE_ID3; + +int mp3_file_setup(unsigned char *filename, MP3_FILE_ID3 *id3); +int mp3_file_handle(void); +int mp3_file_cleanup(void); |