Commit graph

32 commits

Author SHA1 Message Date
Miika Pekkarinen
b0e78a4674 Fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7133 a1c6a512-1295-4272-9138-f99709370657
2005-07-13 13:13:10 +00:00
Miika Pekkarinen
5c2c991d14 Applied patch "[ 1232957 ] MP3 metadata fixes for software codec".
Thanks to Magnus Holmgren. Now metadata reading is better with
improved performance for mp3 files.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7030 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 19:55:40 +00:00
Jens Arnold
b0287720b1 Fixed MPEG header validation for layer 1 on iriver, and simplified it for archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6746 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 11:26:14 +00:00
Miika Pekkarinen
097444d07c Fixed some mp3 metadata reading performance problem. Next track
switching should be more reliable.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6691 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 15:14:20 +00:00
Thom Johansen
57f0ec1474 Added support for reading LAME header delay and padding fields for proper gapless MP3 support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6689 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 14:03:31 +00:00
Jens Arnold
509117db90 (1) Bugfix: create_xing_header() now returns 0 in case of an invalid header template, i.e. when mp3headerinfo() returns false. It used to return a random number, causing all sorts of problems. This was the cause for the end of a recording (still in the buffer) occasionally overwriting the beginning. (2) Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6557 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 09:01:40 +00:00
Linus Nielsen Feltzing
d34865a530 mp3buf renamed to audiobuf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-05 11:33:58 +00:00
Jean-Philippe Bernardy
98a8132155 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5712 a1c6a512-1295-4272-9138-f99709370657
2005-01-30 14:11:50 +00:00
Linus Nielsen Feltzing
a0d5bea9ec The debug output now reports the correct mpeg layer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5476 a1c6a512-1295-4272-9138-f99709370657
2004-12-01 11:04:39 +00:00
Jens Arnold
35b6dc3ea7 A little more straightforward vbr header checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4986 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 21:54:24 +00:00
Linus Nielsen Feltzing
a23303695e MP3 files with VBRI frames were parsed incorrectly, and the VBRI frame was partly fed to the MAS, giving playback glitches
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4560 a1c6a512-1295-4272-9138-f99709370657
2004-04-29 01:18:15 +00:00
Linus Nielsen Feltzing
1936c413a8 Slightly improved VBR fixer, now uses the same template header throughout the entire file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4225 a1c6a512-1295-4272-9138-f99709370657
2004-01-13 14:06:18 +00:00
Linus Nielsen Feltzing
fb5f458c27 Internal code cleanup - the header template is not taken from the stream if a template header is passed to create_xing_header()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4180 a1c6a512-1295-4272-9138-f99709370657
2003-12-28 03:40:41 +00:00
Linus Nielsen Feltzing
24a8b6ad09 Frame-accurate file splits when recording. Now the PLAY button closes the current file and opens a new one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3998 a1c6a512-1295-4272-9138-f99709370657
2003-11-02 11:24:38 +00:00
Linus Nielsen Feltzing
d28a506e06 Even larger MP3 frame analysis buffer. Fixes bug #747969.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3721 a1c6a512-1295-4272-9138-f99709370657
2003-06-03 21:50:21 +00:00
Daniel Stenberg
4f0f34b88c this should be using unsigned, to allow a full 4GB file, just in case
everything else does


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3686 a1c6a512-1295-4272-9138-f99709370657
2003-05-19 14:36:14 +00:00
Daniel Stenberg
24756e1cf7 Stevie Oh's patch #739898 that corrects how vbrfix works on large files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3685 a1c6a512-1295-4272-9138-f99709370657
2003-05-19 14:15:21 +00:00
Linus Nielsen Feltzing
20d031f9c7 Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
2003-05-09 16:01:21 +00:00
Linus Nielsen Feltzing
126a7b3f6d Fixed compiler error on debug builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3573 a1c6a512-1295-4272-9138-f99709370657
2003-04-20 22:09:23 +00:00
Linus Nielsen Feltzing
478da628f0 Xing headers now support mono better, added the 'editable files' option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3572 a1c6a512-1295-4272-9138-f99709370657
2003-04-20 22:00:30 +00:00
Linus Nielsen Feltzing
6d522179dc Stupid compiler...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3570 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 02:24:52 +00:00
Linus Nielsen Feltzing
1b466e0e58 Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3568 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 02:09:56 +00:00
Linus Nielsen Feltzing
7fdef57d57 Better generation of Xing headers, now they contain the correct MPEG version and sample rate info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3567 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 01:59:23 +00:00
Linus Nielsen Feltzing
1c32bd0f48 Increased the buffer size for get_mp3file_info(). This is supposed to fix bugs #722233, #722521 and #723922
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3566 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 00:27:15 +00:00
Linus Nielsen Feltzing
d5304e5af0 Changed some debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3547 a1c6a512-1295-4272-9138-f99709370657
2003-04-13 15:05:46 +00:00
Linus Nielsen Feltzing
f8979dae58 The Xing flag word wasn't correctly generated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3495 a1c6a512-1295-4272-9138-f99709370657
2003-03-24 12:48:33 +00:00
Linus Nielsen Feltzing
df4cf2edc4 Reverted last change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3493 a1c6a512-1295-4272-9138-f99709370657
2003-03-24 11:35:53 +00:00
Björn Stenberg
8ab8d7d8ac Don't fail on bitrate 0. Our own recordings have bitrate 0...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3492 a1c6a512-1295-4272-9138-f99709370657
2003-03-24 10:31:50 +00:00
Linus Nielsen Feltzing
7105b28bba The frame buffer was too small for 320kbit/s frames
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3446 a1c6a512-1295-4272-9138-f99709370657
2003-03-15 07:28:12 +00:00
Linus Nielsen Feltzing
2c07e78efc Don't accidentally add Xing headers to CBR files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3419 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 18:25:40 +00:00
Linus Nielsen Feltzing
6475aa0c85 Experimental Xing header generation added. Use with caution
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3418 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 18:05:01 +00:00
Linus Nielsen Feltzing
a039091187 New ID3 and MP3 stream parser, plus not-yet-ready Xing header generation code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3410 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:55:31 +00:00