Commit graph

34 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
4e69f82c8f Now continues searching for good frames if a bad one is found. Patch by Hardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1398 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:05:46 +00:00
Björn Stenberg
60e7b20971 More detailed mp3 frame header check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1383 a1c6a512-1295-4272-9138-f99709370657
2002-07-18 15:21:45 +00:00
Björn Stenberg
782a61d992 Added support for mono and MPEG2 VBR headers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1380 a1c6a512-1295-4272-9138-f99709370657
2002-07-18 02:08:23 +00:00
Björn Stenberg
5e2898f3d4 Added average bitrate for VBR mp3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1346 a1c6a512-1295-4272-9138-f99709370657
2002-07-10 13:17:31 +00:00
Linus Nielsen Feltzing
c644fc2956 Added a vbr flag in the id3 struct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1339 a1c6a512-1295-4272-9138-f99709370657
2002-07-05 07:13:43 +00:00
Linus Nielsen Feltzing
c6de959f04 Added protection against too large ID3V2 tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1336 a1c6a512-1295-4272-9138-f99709370657
2002-07-04 22:10:43 +00:00
Linus Nielsen Feltzing
434b788a1f Now sets bitrate to VARIABLE_BIT_RATE if VBR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1325 a1c6a512-1295-4272-9138-f99709370657
2002-07-04 06:42:51 +00:00
Linus Nielsen Feltzing
2e525fe9ed Added Xing VBR frame parsing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1324 a1c6a512-1295-4272-9138-f99709370657
2002-07-03 21:04:09 +00:00
Linus Nielsen Feltzing
b983d1b4a1 Fixed an overflow in the song length calculation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1242 a1c6a512-1295-4272-9138-f99709370657
2002-06-28 08:05:20 +00:00
Jerome Kuptz
b6d3bc2dd9 changed char* path to char path[256] and added a copy of filename on mp3info function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1229 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 08:33:58 +00:00
Jerome Kuptz
d15884fab2 Made mp3info set the path variable on the mp3entry struct. This fixes WPS Parse & File modes in playlist or dir playing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1224 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 07:18:13 +00:00
Björn Stenberg
928e334831 Added id3 tracknum (Yusef Napora)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1204 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 21:11:29 +00:00
Björn Stenberg
f186f46f5d Moved getfilesize() to top
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1203 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 15:20:00 +00:00
Björn Stenberg
1575ee378c Reordered operations to optimise file seeking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1202 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 14:51:09 +00:00
Björn Stenberg
ef15d9983a Made mp3entry a struct, not a type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1182 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:39:22 +00:00
Björn Stenberg
f224f0b8e8 Don't free static data :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1181 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:29:38 +00:00
Daniel Stenberg
c9ea73e19d NOTE! the 'mp3entry' struct grew quite a bit now, as the previously static
buffers were moved into the struct instead and thus we enable the mp3info()
function to be called in a re-entrant way. Just don't allocate that struct
on the stack without careful consideration!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@896 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 22:05:00 +00:00
Linus Nielsen Feltzing
76d0c7d790 Fixed endianness bug in getsonglength
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@750 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 14:03:17 +00:00
Björn Stenberg
3facc983d1 Commented out songlength() for now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@734 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:54:13 +00:00
Björn Stenberg
72c8e71c21 Removed floating point code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@612 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 08:42:45 +00:00
Björn Stenberg
2382044ffc Changing to C99 'bool' type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@561 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 12:29:34 +00:00
Dave Chapman
a1302f26db save mpeg layer and version information
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@557 a1c6a512-1295-4272-9138-f99709370657
2002-05-12 14:28:51 +00:00
Björn Stenberg
bd262a5dbe Removed include fcntl.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@520 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 15:36:18 +00:00
Daniel Stenberg
af5c607832 uninitialised variable and better return code check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@504 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 07:10:16 +00:00
Dave Chapman
ca532502bd fixed buffer overflow in setid3v1title
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@479 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 15:21:43 +00:00
Daniel Stenberg
e630d64027 no more unistd.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@462 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 07:19:09 +00:00
Daniel Stenberg
75e8cbbdcc Dave Chapman found a problem in the id3v1 tag reading, and provided
this fix!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@445 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 13:25:29 +00:00
Daniel Stenberg
0343834852 include file.h (important for the x11 sim to work) and types.h (as that
already has a bool type and TRUE/FALSE defines). Also now includes its
own new id3.h for the struct definition.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@431 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:32:20 +00:00
Björn Stenberg
824a003052 Added Gary's snprintf() and changed all places to use it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@379 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 11:44:15 +00:00
Daniel Stenberg
ad9bdf6e38 fixed to use our file api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@325 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 12:42:37 +00:00
Björn Stenberg
4b5edb8e31 Removed some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@298 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 09:57:09 +00:00
Daniel Stenberg
20c239dd11 fixed compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@248 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 08:56:43 +00:00
Daniel Stenberg
963a64770e no more malloc()s or strdup()s
the test program now takes any amount of files, which makes it easy to verify
lots of files at once using shell wildcards


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@196 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 11:46:16 +00:00
Daniel Stenberg
6755f82a70 id3 tag reading code, both v1 and v2. Still needs to be adjusted more to
remove the malloc()s and possible other stuff.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@185 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 08:43:04 +00:00