Commit graph

7548 commits

Author SHA1 Message Date
Jens Arnold
1cbac551be Grayscale lib on archos: Fixed bug introduced with the register usage change. Reusing a register twice won't work that well...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7577 a1c6a512-1295-4272-9138-f99709370657
2005-10-03 12:51:29 +00:00
Jens Arnold
cfb073c452 Coldfire: New timer handling on CPU frequency change, adjusting the prescaler on the fly, for both tick and user timer. Precondition is that the higher frequencies are integer multiples of the base: now NORMAL is 45 MHz and MAX is 124 MHz. Removes the need for applications with longer timer periods (>= 10 ms) to boost the CPU all the time, e.g. the grayscale lib. Timer counts are now always based on the base frequency (CPU_FREQ). * Adjusted the RAM refresh timers to the new frequencies (all frequencies for H100) * All: Fixed the tick timer count being off by one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7576 a1c6a512-1295-4272-9138-f99709370657
2005-10-03 09:24:36 +00:00
Jens Arnold
7190cf2ed9 Ooops, players have no screendump.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7575 a1c6a512-1295-4272-9138-f99709370657
2005-10-01 10:46:13 +00:00
Jens Arnold
05042affc7 Core: A graphics framework can now register a hook function to extend the core screendump routine. * Grayscale library: (1) Changed the screendump routine into a hook, and implemented it for H1x0. (2) The planar pixel setting routines now use one register less. Fixes build problem with developer builds (frame pointers enabled) on coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7574 a1c6a512-1295-4272-9138-f99709370657
2005-10-01 10:20:55 +00:00
Dave Bryant
f0fe3c9477 Fix some WavPack bugs by forcing DSP use even when not needed for sampling rate
conversion or ReplayGain. Costs about 12% boost ratio when DSP would not have
been used before.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7573 a1c6a512-1295-4272-9138-f99709370657
2005-09-30 21:11:31 +00:00
Jens Arnold
a1de081a1b Ooops, forgot to fix that comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7572 a1c6a512-1295-4272-9138-f99709370657
2005-09-30 20:11:31 +00:00
Jens Arnold
1a40e10933 H1x0: Changed lcd_blit() and the grayscale library to use the same internal format as on archos (1bpp). While the slowdown of the ISR is minimal (the intermediate buffers are in IRAM), the planar grayscale buffer takes only half the space for a given depth, and gray_update[_rect]() and unbuffered drawing/scrolling are faster because less data needs to be moved. It should also make porting of video.rock somewhat easier. * Archos recorders, Ondios: Some slight optimisations of the grayscale library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7571 a1c6a512-1295-4272-9138-f99709370657
2005-09-30 20:10:27 +00:00
Linus Nielsen Feltzing
8b9c64f19d iriver: Idle CPU in the FM radio screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7570 a1c6a512-1295-4272-9138-f99709370657
2005-09-29 11:19:55 +00:00
Magnus Holmgren
58384f03fb iRiver: Make it possible to build Rockbox using GCC 4.0.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7569 a1c6a512-1295-4272-9138-f99709370657
2005-09-28 17:36:42 +00:00
Jens Arnold
9d256dc4b0 Fixed voice: entries; synced to english.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7568 a1c6a512-1295-4272-9138-f99709370657
2005-09-27 22:51:51 +00:00
Jens Arnold
50d99ef0f6 Fixed messed up voice: lines. Corrected entries depending on whether the voice: entries are actually used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7567 a1c6a512-1295-4272-9138-f99709370657
2005-09-27 22:51:16 +00:00
Jens Arnold
c1412f7dbc Fixed voicing of 'Trigger' menu item
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7566 a1c6a512-1295-4272-9138-f99709370657
2005-09-27 22:42:37 +00:00
Jonas Häggqvist
1302f97dde Fix the read_uint32be function - it was overwriting before saving parts of the int.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7565 a1c6a512-1295-4272-9138-f99709370657
2005-09-27 01:03:51 +00:00
Jonas Häggqvist
0dd0d3134d Fix for the problem that the iriver would not auto poweroff if a file had been played. Pointed out by Stephan Wezel in patch #1298779. Tested, and pause still remains on if skipping tracks, but if this causes problems, revert it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7564 a1c6a512-1295-4272-9138-f99709370657
2005-09-26 01:20:02 +00:00
Jens Arnold
086dd04595 Fixed trigger enabling/disabling when cycling backwards through modes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7563 a1c6a512-1295-4272-9138-f99709370657
2005-09-26 00:15:55 +00:00
Jens Arnold
893669cc10 Rather obvious simplification of the mpeg frametime fraction calculation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7562 a1c6a512-1295-4272-9138-f99709370657
2005-09-25 19:07:56 +00:00
Dave Chapman
87ebd361e2 Add libalac to non-existent iAudio build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7561 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 20:48:14 +00:00
Magnus Holmgren
415f3bddf6 Oops, forgot to guard a couple of calls to dsp_set_replaygain...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7560 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 15:56:33 +00:00
Ryan Jackson
c694954f73 Skipping to the previous track from the last buffered track caused playback to stop after the last buffered track if it didn't originally fit completely in the file buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7559 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 15:44:07 +00:00
Magnus Holmgren
4b711c2f72 Iriver: Added new ReplayGain type: track gain if shuffle mode is active, album gain otherwise. Properly apply ReplayGain settings on config file load. Bumped config version, so save your settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7558 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 15:22:48 +00:00
Dave Chapman
9a625ef7ac Add yield() calls inside the monolithic ALAC decode_frame() function - improves responsiveness of UI during ALAC decoding
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7557 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 12:35:18 +00:00
Dave Chapman
cae670ff1f Cascade errors back down to qtmovie_read() and correctly return an error on invalid ALAC files - should prevent crashes when attempting to play AAC files using ALAC decoder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7556 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 11:56:36 +00:00
Dave Chapman
ef26cd2af1 Deal with new "edts" tag in iTunes 5 encoded files - this fixes metadata reading and seeking in new ALAC files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7555 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 11:40:26 +00:00
Jens Arnold
d7ad24ed39 H1x0 radio: Fixed the volume changing issue with non-flat tone controls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7554 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 09:42:55 +00:00
Jens Arnold
524b85fa92 H1x0: More precise tuning; corrected xtal frequency in comments + #defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7553 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 09:06:31 +00:00
Jonas Häggqvist
9f41c6c11e Workaround for ALAC files that previousy wouldn't play. Libalac now skips unknown chunk IDs. Time display and seeking is broken for those files (the ones that played before still work). Patch by Alyssa Milburn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7552 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 02:12:42 +00:00
Thom Johansen
bccf58621e Removed unnecessary codec_api struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7551 a1c6a512-1295-4272-9138-f99709370657
2005-09-23 00:12:02 +00:00
Dave Chapman
0647772826 Fix bug in read_uint32be causing simulator warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7550 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 22:47:29 +00:00
Dave Chapman
94f31b51f4 Add ALAC to list of software codecs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7549 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 21:56:49 +00:00
Dave Chapman
5a1b77f04c Add ALAC audio type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7548 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 21:56:03 +00:00
Dave Chapman
139c1cb824 First version of ALAC (Apple Lossless) decoder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7547 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 21:55:37 +00:00
Jonas Häggqvist
8026f0fe05 Reverse previous commit - it had uneffected side-effects.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7546 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 21:38:22 +00:00
Jens Arnold
e85fe09232 Sudoku: (Recorders) Changed menu button to F1. (Ondio) Changed menu button to long MODE. Short MODE only toggles once; use MODE+DOWN for toggle-repeat. That won't bring up the menu if you're fast enough. Should be easy using the thumb.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7545 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 21:00:03 +00:00
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