Commit graph

7015 commits

Author SHA1 Message Date
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
7cdae1ac65 First attempt at gapless MP3 support using LAME header info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6690 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 14:38:36 +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
Thom Johansen
ca19564eec Enabled minor Tremor opt.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6688 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:53:10 +00:00
Dave Chapman
a1d75d3c79 Calculate accurate Ogg duration and bitrate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6687 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:46:36 +00:00
Thom Johansen
0069b92212 Sync and fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6686 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:45:51 +00:00
Thom Johansen
649acec2fc Small Musepack optimisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6685 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:43:05 +00:00
Thom Johansen
3c30ee51d8 Command line support for fwpatcher by Dave Hooper.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6684 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:40:46 +00:00
Miika Pekkarinen
2528e7c023 Pausing tracks disabled until crashing issues are solved.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6683 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 20:46:56 +00:00
Miika Pekkarinen
5f57069452 Fixed buffering problem with some files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6682 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 20:14:10 +00:00
Dave Chapman
8f0a0fed4e Estimate (poorly) the duration of an Ogg track, and display elapsed time in WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6681 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 19:14:40 +00:00
Miika Pekkarinen
94b917e9ee Setting current_fd to -1 at startup to prevent some rare crashes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6680 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 18:14:41 +00:00
Miika Pekkarinen
a380d90b98 Fixed MP3 forward seeking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6679 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 18:05:16 +00:00
Marcoen Hirschberg
7527bfb4d6 center-scrolling: start scrolling when the cursor is at 2/3 of the screen. There is still a bug when the fontsize changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6678 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 17:35:30 +00:00
Dave Chapman
b30962f9f3 Initial attempt at parsing the metadata in an Ogg file - it still doesn't calculate total track length
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6677 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 16:50:07 +00:00
Thom Johansen
5f12af28fb Big performance improvement for liba52. A couple of small ASM opts, and lots IRAM usage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6676 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:45:48 +00:00
Thom Johansen
c0f9ad61fb IRAM support for a52towav.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6675 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:44:35 +00:00
Dave Chapman
a9d9ef50bd Move another buffer into IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6674 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:39:52 +00:00
Jonas Häggqvist
3e76783101 Synced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6673 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:13:32 +00:00
Dave Chapman
c19563cba3 Maybe (or maybe not) support downsampling multi-channel AC3 files. liba52 is too slow to test properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6672 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:03:15 +00:00
Miika Pekkarinen
1c5b392080 Fixed codec buffering problem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6671 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 13:47:01 +00:00
Dave Chapman
2f2d7d4913 First version of Musepack playback (not working)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6670 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 12:40:27 +00:00
Dave Chapman
775923e363 Add .a52 and .mpc to supported list of audio files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6669 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 12:37:36 +00:00
Dave Chapman
55ed7d7214 First codeca52 (A52 aka AC3 playback) - it is already faster than realtime, with zero optimisations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6668 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 10:08:17 +00:00
Thom Johansen
c82518ce06 Replaced critical loop with assembler. A bit closer to realtime now. This codec really needs all the 64 bit muls replaced with EMAC equivalents.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6667 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 01:04:59 +00:00
Mats Lidell
197e3edce3 Synced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6666 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 00:09:11 +00:00
Jens Arnold
a4aa508bd0 Thread scheduler reworked to be less dependent on compiler behaviour. Stack overflow check is now possible on coldfire, enabled it. Unified code as much as possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6665 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 23:05:15 +00:00
Pedro Vasconcelos
6b9350b4d3 A little improvement on Vorbis block synthesis.
Added myself to the list of contributors.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6664 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 22:34:57 +00:00
Miika Pekkarinen
cd1d87c8cf Small typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6663 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 21:47:48 +00:00
Miika Pekkarinen
d480fdc721 Yet another crash bug fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6662 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 21:46:59 +00:00
Miika Pekkarinen
cd56d0fba5 Pause fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6661 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 20:46:39 +00:00
Miika Pekkarinen
9ff373cb65 Fixed a null pointer problem which caused crashing. Playback should be
now more stable.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6660 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 20:29:35 +00:00
Miika Pekkarinen
7e0b6880d9 Fixed wav playing problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6659 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 19:26:34 +00:00
Dave Chapman
ab81502f90 Use ci->request_buffer instead of ci->read_filebuf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6658 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 19:12:58 +00:00
Dave Chapman
cfda23517e OK then, bitrate is in 1000s of bits per second, not 1024s of bits per second.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6657 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 18:51:46 +00:00
Dave Chapman
7d0933b3c3 Add codecwav.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6656 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 18:44:23 +00:00
Dave Chapman
d28b94bc3d Correctly calculate bitrate for WAV files - bitrate is bits/second, not bytes/second
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6655 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 18:12:36 +00:00
Dave Chapman
3c2c2f59f4 Add first version of WAV playback to iRiver - only 16-bit Stereo 44.1KHz files supported.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6654 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 18:08:08 +00:00
Miika Pekkarinen
d30f1100ec Much better UI performance and buffering times for MP3 and FLAC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6653 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 17:33:16 +00:00
Miika Pekkarinen
68b9acd7de Added some basic codec configuration functionality.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6652 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 15:02:10 +00:00
Miika Pekkarinen
2326beaf39 When selecting first song to play, buffer initially only 2 MiB. If
user continues listening to the same song, then fill the buffer completely.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6651 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 13:43:12 +00:00
Miika Pekkarinen
637e313925 Fixed problem that playing sometimes did not start.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6650 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 12:22:33 +00:00
Miika Pekkarinen
e0b51d4731 Setting plugin_loaded status before invalidating icache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6649 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 11:44:56 +00:00
Miika Pekkarinen
842bed7275 No more playlist viewer crashes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6648 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 11:35:52 +00:00
Miika Pekkarinen
2ed0b195be Better handling for cpu_boost(). Small buffering fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6647 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 10:58:45 +00:00
Miika Pekkarinen
b945fe84aa Don't keep cpu boosted if length of track information is missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6646 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 06:42:39 +00:00
Miika Pekkarinen
c2bf1360ad Fixed problem that same track gets buffered twice after buffer
re-filling.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6645 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 21:21:33 +00:00
Daniel Stenberg
c0f7448384 Martin Arver's fix to properly adapt the menu for the chosen font.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6644 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 21:19:38 +00:00
Miika Pekkarinen
0bcc64cb4c Reset cpu to not boosted state at startup. Do case-insensitive file
extension probing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6643 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 20:22:33 +00:00
Miika Pekkarinen
9e200e35cd Fixed pause indicator. Better UI response with FLAC and Ogg Vorbis.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6642 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 20:01:09 +00:00