Commit graph

7515 commits

Author SHA1 Message Date
Dave Chapman
debbe9747e First Rockbox version of ALAC decoder - porting to work in Rockbox environment and some simple (but significant) optimisations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7544 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 20:46:58 +00:00
Dave Chapman
567718d837 Add ON button as an alternative toggle button for the iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7543 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 20:17:21 +00:00
Magnus Holmgren
b5f3365554 iriver: proper wav file handling by Frederic Devernay (patch #1245261). Adapted the metadata part to the new metadata.c, and did a few minor changes in the codec. Some of the file format checks in the codec should IMHO be moved to metadata.c, but I left that for later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7542 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 19:36:25 +00:00
Dave Chapman
711b2e3c88 Initial (unmodified - for reference) import of David Hammerton's Apple Lossless (ALAC) decoder from http://crazney.net/programs/itunes/alac.html
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7541 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 18:47:04 +00:00
Dave Chapman
025873b3ac Enable FM presets for iriver. Add a preset via the "add" option in the radio menu, and press ON/PLAY button to bring up the list of presets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7540 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 18:36:02 +00:00
Magnus Holmgren
ccdae5dbe4 iriver: Metadata code cleanup: 1) Remove 4k static buffer. 2) Generalized tag parsing, so APE and Vorbis tags can share some code. 3) Code size reduction (800+ bytes). 4) Better UTF-8 parser (I hope...). 5) More consistent return value on errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7539 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 16:58:03 +00:00
Jonas Häggqvist
aafb343d10 Fix to remote-hold check by Stephan Wezel - it always returned true when the remote wasn't present.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7538 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 11:31:40 +00:00
Daniel Stenberg
c0f455993a Initial parser for the langv2 language file format
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7537 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 11:22:43 +00:00
Daniel Stenberg
747bba530c Credit scroll speed as sine wave in an attempt to beome more readable on the
blurry iriver LCD.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7536 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 10:56:42 +00:00
Jonas Häggqvist
267d8a7461 Rockbox 2.5 released.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7535 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 09:35:59 +00:00
Dave Chapman
8c1330b391 Fix warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7534 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 09:01:50 +00:00
Dave Chapman
548c1b72c0 Added menu interface to plugin API - needed by Sudoku
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7533 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 08:54:48 +00:00
Dave Chapman
6afb017642 First version of Sudoku plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7532 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 08:53:04 +00:00
Thom Johansen
1b79209ea7 Avoid EMAC stall in MULT31_SHIFT15.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7530 a1c6a512-1295-4272-9138-f99709370657
2005-09-21 23:09:19 +00:00
Thom Johansen
f60e6200f6 DSP_* constants moved from playback.h to dsp.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7529 a1c6a512-1295-4272-9138-f99709370657
2005-09-21 13:09:10 +00:00
Jonas Häggqvist
5f78b9a530 Restoration update
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7528 a1c6a512-1295-4272-9138-f99709370657
2005-09-21 01:37:02 +00:00
Björn Stenberg
5d81b91e37 moo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7527 a1c6a512-1295-4272-9138-f99709370657
2005-09-19 14:49:29 +00:00
Magnus Holmgren
f5ec0fa592 iriver: fix problem with playing some long vorbis files (e.g., this week in tech, #21); the decoder would run out of memory and freeze rockbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7526 a1c6a512-1295-4272-9138-f99709370657
2005-09-18 12:44:27 +00:00
Björn Stenberg
59c995f58b mention list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7525 a1c6a512-1295-4272-9138-f99709370657
2005-09-17 21:57:09 +00:00
Björn Stenberg
929205f2e4 corrected date
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7524 a1c6a512-1295-4272-9138-f99709370657
2005-09-17 21:56:30 +00:00
Linus Nielsen Feltzing
00d79d8d07 Wiki deletion
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7523 a1c6a512-1295-4272-9138-f99709370657
2005-09-17 14:56:12 +00:00
Jens Arnold
ba966c1761 Archos recording/playback: (1) Xing header creation: * Now estimates the framecount from the recording time if the MAS frame counter saturates, so it always writes a valid Xing header. * Reverted my brainless short-xing-header change. This was only valid for layer 3. (2) Xing/VBRI header evaluation: Fixed possible overflow in bitrate calculation. (3) MPEG thread: Avoid double chunk size limiting for the rare case of 8 MB modded Ondios.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7522 a1c6a512-1295-4272-9138-f99709370657
2005-09-15 05:29:26 +00:00
Miika Pekkarinen
0c1a2c7651 iRiver: Fixed a crash when loading a new configuration file and audio
is playing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7521 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 16:07:07 +00:00
Linus Nielsen Feltzing
56fa2dafb0 Player and recorder use the same scrambler, and have the same size limits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7520 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 11:15:59 +00:00
Linus Nielsen Feltzing
e3e67eeb94 Proper file numbering in the iriver PCM recording test code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7519 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 10:55:45 +00:00
Linus Nielsen Feltzing
e244f7f2a6 Added a dummy sys_poweroff() in the boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7518 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:44:45 +00:00
Linus Nielsen Feltzing
91216a5edc The power thread now monitors the shutdown process and forces a poweroff if it takes more than 8 seconds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7517 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:08:26 +00:00
Linus Nielsen Feltzing
74353a7fe4 The database is now always synched when entering USB mode or shutting down, and not only in the tree browser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7516 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:07:05 +00:00
Linus Nielsen Feltzing
7b86bade59 Handle the different max binary size limits for the Archos models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7515 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 07:48:45 +00:00
Thom Johansen
14f2e45397 Replaced standard libmad accumulator sequence with EMAC optimised one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7514 a1c6a512-1295-4272-9138-f99709370657
2005-09-13 14:12:52 +00:00
Linus Nielsen Feltzing
9e3b755f1e Nimbus-12: Minor adjustments, plus added a lot of missing characters
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7513 a1c6a512-1295-4272-9138-f99709370657
2005-09-13 09:06:55 +00:00
Linus Nielsen Feltzing
7dec69dbce Safety net for devices with no hardware poweroff mechanism - hold STOP for several seconds to force a poweroff if the normal shutdown fails
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7512 a1c6a512-1295-4272-9138-f99709370657
2005-09-12 11:03:14 +00:00
Linus Nielsen Feltzing
829f00e688 Fixed compiler error in the X11 iriver simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7511 a1c6a512-1295-4272-9138-f99709370657
2005-09-12 11:02:57 +00:00
Linus Nielsen Feltzing
e6c6d22240 Now panicf() shuts off the hard drive and lowers the CPU frequency, it also reboots if ON is pressed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7510 a1c6a512-1295-4272-9138-f99709370657
2005-09-12 10:34:27 +00:00
Jens Arnold
4a2feaa30d Rockboy: Asm optimised updatepatpix() for coldfire. The vertical-mirroring pattern copy profits from burst mode (line aligned movem).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7509 a1c6a512-1295-4272-9138-f99709370657
2005-09-11 21:44:48 +00:00
Jens Arnold
2c0d04cc94 Fixed comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7508 a1c6a512-1295-4272-9138-f99709370657
2005-09-11 17:57:31 +00:00
Jens Arnold
61a2550f3f ID3 tag priority setting wasn't applied on startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7507 a1c6a512-1295-4272-9138-f99709370657
2005-09-11 12:07:13 +00:00
Miika Pekkarinen
acdcdb0278 iRiver: Correctly keeping playback paused when skipping tracks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7506 a1c6a512-1295-4272-9138-f99709370657
2005-09-10 21:02:42 +00:00
Jens Arnold
ec9b202a92 Reworked handling of MPEG audio frame & file info: * Fixed frame size calculation for layer 1 (all versions) and layer 2 (V2/V2.5). * Exact frame time (expressed as a fraction) for way more precise playtime calculation at 44100/22050/11025Hz sample frequency. * Exact playtime<->position conversion for CBR also used for resume position. * More compact code, long policy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7505 a1c6a512-1295-4272-9138-f99709370657
2005-09-10 12:28:16 +00:00
Thom Johansen
1996dca15a Put a couple of important layer 1/2 arrays in IRAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7504 a1c6a512-1295-4272-9138-f99709370657
2005-09-10 10:14:35 +00:00
Daniel Stenberg
acabd28efc Removed the risk of getting a zero CRC for a valid file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7503 a1c6a512-1295-4272-9138-f99709370657
2005-09-09 07:35:09 +00:00
Jens Arnold
4a939ecdcd Exact song length calculation for CBR mpeg audio files (without Info header).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7502 a1c6a512-1295-4272-9138-f99709370657
2005-09-09 07:19:41 +00:00
Linus Nielsen Feltzing
c2779e5ef3 Patch #1285659 by Stephan Wezel, adds the %bp tag to the WPS (external power adapter)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7501 a1c6a512-1295-4272-9138-f99709370657
2005-09-09 07:07:44 +00:00
Jonas Häggqvist
34aa5c20cc The previous commit had a distressing lack of words. This time I deliver the promised Christian Gangsta Rap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7500 a1c6a512-1295-4272-9138-f99709370657
2005-09-08 00:17:11 +00:00
Jonas Häggqvist
f73ec85966 Added support for additional ID3v1 genres, including such gems as "Christian gangsta rap" and "Negerpunk".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7499 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 22:51:43 +00:00
Linus Nielsen Feltzing
04eedd0624 WPS: 1) Increased the WPS buffer size from 800 to 1600 bytes, 2) Increased the number of images from 26 to 52, using both a-z and A-Z as image ID 3) Fixed a bug that inserted empty lines if an image tag was wrong
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7498 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 13:54:58 +00:00
Linus Nielsen Feltzing
561aaa1219 WPS: 1) Bitmaps are drawn after formatting the entire WPS, 2) Most tags are now marked REFRESH_DYNAMIC, 3) Conditional bitmaps are now drawn with DRMODE_SOLID
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7497 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 12:32:59 +00:00
Thom Johansen
0c885ac4c1 Put some FLAC data in IRAM. Will clean up code later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7496 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 10:13:39 +00:00
Linus Nielsen Feltzing
4e9969bcb9 Removed another warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7495 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 06:54:58 +00:00
Linus Nielsen Feltzing
1a812e3087 Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7494 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 06:53:30 +00:00