Commit graph

3827 commits

Author SHA1 Message Date
Thom Johansen
c8193b8da5 The seek_time member of the codec API needs to be decremented before use as a seeking time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7768 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 19:18:04 +00:00
Thom Johansen
741012004b Disabled Musepack seeking, since it's so slow that most users conclude the codec has crashed. Left in original seek code for those who're aware of the issue and want seek support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7767 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 19:12:27 +00:00
Kevin Ferrare
3aa842c9a3 some multi-screen work in playlist.c, properly formated splash.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7766 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 17:30:53 +00:00
Miika Pekkarinen
e7461b3609 iRiver: New crossfader with more configuration capability. Might still
have small bugs, but those will be fixed as soon as possible. Config
block version bumped; please SAVE YOUR SETTINGS.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7765 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 16:40:20 +00:00
Miika Pekkarinen
ce1312e383 iRiver: Fixed the wps not to stop audio before shutdown has been
accepted. Please revert back if you feel this wrong.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7764 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 16:18:55 +00:00
Kevin Ferrare
4caf1ce185 Added wrapping on settings when reaching limits and when long key press is enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7763 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 14:04:56 +00:00
Miika Pekkarinen
ba2062e8bc Fixed the hang and weird behaviour with logf support enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7762 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 13:37:57 +00:00
Kevin Ferrare
9b5264d37f Corrected the bug with boolean settings (the inverted screen that couldn't be turned back to normal) added full multi-screen sound setting support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7761 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 03:18:34 +00:00
Thom Johansen
97a21a3b36 Unrolled loops up to order 10 plus slight optimisation of default case.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7759 a1c6a512-1295-4272-9138-f99709370657
2005-11-05 17:54:37 +00:00
Adam Boot
63fbc0729f New plugin: Bejeweled game for Recorder, Ondio, and iRiver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7758 a1c6a512-1295-4272-9138-f99709370657
2005-11-05 17:18:52 +00:00
Thom Johansen
0bfcabeafd Added ID3v2 skipping for Musepack files. Switched ReplayGain strings to use toc buffer instead of id3v2buf, since the last collided with the APE tag reading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7757 a1c6a512-1295-4272-9138-f99709370657
2005-11-05 13:58:08 +00:00
Kevin Ferrare
81411a8226 Corrected a bug introduced with the multi screen settings handling code : The current value wasn't voiced when entering the setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7754 a1c6a512-1295-4272-9138-f99709370657
2005-11-05 02:19:21 +00:00
Thom Johansen
d5eefe8bc7 Fixed the halved volume bug, remove ad-hoc metadata loading and add ReplayGain support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7753 a1c6a512-1295-4272-9138-f99709370657
2005-11-04 21:35:08 +00:00
Thom Johansen
e642c90afb Added proper metadata parsing for musepack files, including ReplayGain.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7752 a1c6a512-1295-4272-9138-f99709370657
2005-11-04 21:34:03 +00:00
Kevin Ferrare
9ccca4a1b6 Added documentation to the new select API, made settings.c to use gui_syncsplash instead of splash to display on all screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7751 a1c6a512-1295-4272-9138-f99709370657
2005-11-04 17:25:29 +00:00
Kevin Ferrare
80c0f99a1a Added iriver remote keys support to the option selection in the menus, corrected a silly c'n'p error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7750 a1c6a512-1295-4272-9138-f99709370657
2005-11-04 16:07:50 +00:00
Björn Stenberg
c34d04618a Rolled back "Follow playlist" change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7749 a1c6a512-1295-4272-9138-f99709370657
2005-11-04 12:49:42 +00:00
Kevin Ferrare
2bffba7406 oops ! fixed the compile error on the archos player, forgot a ifdef ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7748 a1c6a512-1295-4272-9138-f99709370657
2005-11-04 07:48:28 +00:00
Kevin Ferrare
cbbdc95d9c Fixed a bug in the multi-screen menus, the statusbar wasn't refreshed when coming from some custom wps that erases it ; Initial support for options in the menus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7747 a1c6a512-1295-4272-9138-f99709370657
2005-11-04 07:18:36 +00:00
Anton Oleynikov
12a4ba0d76 default for "Follow playlist" option is set to "yes"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7746 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 21:38:17 +00:00
Jens Arnold
f2314de0b1 Recorder v1: removed duplicate battery debug code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7745 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 21:21:37 +00:00
Dave Chapman
4b03c14a3e Add seekpoint parsing and dummy ICODE_ATTR macro to standalone FLAC test program
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7742 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 18:48:23 +00:00
Dave Chapman
439ba9bdbb Move code into IRAM and explicitly inline some functions (gcc was inlining them anyway, but this way is better)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7741 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 18:14:37 +00:00
Dave Chapman
6f7f921ebe Move all code into IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7740 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 15:32:40 +00:00
Kevin Ferrare
c43822d102 Fixed a bug whith the multi-screen menus : when entering / leaving a menu, the selected item was not voiced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7739 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 11:56:21 +00:00
Jens Arnold
e4ca732722 Synced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7738 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 00:12:33 +00:00
Jens Arnold
28ce63c481 LANG_RATING isn't used for voicing, so don't waste space in the voice file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7737 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 00:12:16 +00:00
Anton Oleynikov
d102e1f345 patch 1328447: folder skip routines in playlist API plus next/prev folder navigation for iRiver's remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7735 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 22:32:04 +00:00
Thom Johansen
0263ece7f8 Use direct non-interleaved full precision output data instead of converting to 16 bit interleaved data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7734 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 19:43:52 +00:00
Thom Johansen
3661215134 Better place for EMAC init.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7733 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 19:23:27 +00:00
Thom Johansen
a8b9fd1cf8 Need to set sample depth before clip limits to avoid having clip limits overridden.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7732 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 19:15:25 +00:00
Thom Johansen
6b8bd6bc1a Support large delay fields in LAME header, plus some cleanups.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7731 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 19:02:25 +00:00
Dave Chapman
057cc06c68 Enable replaygain for the new FLAC decoder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7729 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 17:26:47 +00:00
Dave Chapman
53dc1fefe9 Make the m4a parser happier with Nero-encoded .mp4 files. This still needs more work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7728 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 14:01:27 +00:00
Dave Chapman
744437132e Correctly clear the screen(s) after a dircache build - this fixes the I04 error when leaving USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7727 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 12:05:33 +00:00
Kevin Ferrare
acdcf68330 enables remote support only when LOGF is disabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7725 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 02:28:12 +00:00
Dave Chapman
4faf0ce488 Fix simulator builds - DEBUGF explicitly needs rb->
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7724 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 01:53:11 +00:00
Dave Chapman
62e9e8927f Add const attribute to lookup tables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7723 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 01:29:35 +00:00
Dave Chapman
0eb6754e53 Cosmetic changes - use correct ICONST or IBSS attributes and refer to codec api as "ci" instead of "rb"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7722 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 01:24:45 +00:00
Kevin Ferrare
40d598abe5 no more warnings (I hope)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7721 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 01:06:51 +00:00
Kevin Ferrare
572b1f087c *** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7720 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 00:55:46 +00:00
Thom Johansen
c9249add41 Automatically set clipping limits based on sample precision.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7719 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 00:30:58 +00:00
Kevin Ferrare
c759b67725 Should be iso 8859 (perhaps...) aslo fixed the warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7718 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 00:23:34 +00:00
Dave Chapman
5006d15d1e Call ci->seek_complete() callback after processing a seek request (an old API change that wasn't implemented in all the codecs)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7717 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 00:09:42 +00:00
Kevin Ferrare
4158ba1ff1 Changed back the copyright's name in onplay.c (silly UTF-8, sorry Björn ! ), changed the internal multi-screen API a little bit, in a cleaner way
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7716 a1c6a512-1295-4272-9138-f99709370657
2005-11-01 23:56:03 +00:00
Thom Johansen
0b19487898 Init EMAC properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7715 a1c6a512-1295-4272-9138-f99709370657
2005-11-01 23:27:41 +00:00
Thom Johansen
60d8db4503 Added some EMAC optimised fixed point routines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7714 a1c6a512-1295-4272-9138-f99709370657
2005-11-01 22:21:27 +00:00
Jens Arnold
2f4327f760 Removed msvc-style x86 inline asm. Now the iriver win32 sim builds again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7713 a1c6a512-1295-4272-9138-f99709370657
2005-11-01 21:17:41 +00:00
Daniel Stenberg
b12df7eaff added libm4a
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7712 a1c6a512-1295-4272-9138-f99709370657
2005-11-01 16:31:31 +00:00
Miika Pekkarinen
4392506d59 iRiver: Fixed another mutex issue that caused problems with seeking.
Don't crossfade if audio is paused when selecting a new track.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7711 a1c6a512-1295-4272-9138-f99709370657
2005-11-01 13:39:01 +00:00
Dave Chapman
33b24a1de0 Fix gcc4 warnings for simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7710 a1c6a512-1295-4272-9138-f99709370657
2005-11-01 09:52:24 +00:00
Dave Chapman
b08a942951 Cosmetic change - correct the indenting to the standard Rockbox four spaces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7709 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 23:34:14 +00:00
Dave Chapman
e85bbad753 Suppress compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7708 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 21:46:50 +00:00
Dave Chapman
cea6d0c92f Initial check-in of AAC codec. Currently only recognises the .mp4 extension and is not yet capable of realtime operation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7706 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 20:56:29 +00:00
Dave Chapman
407be69b8c Add capability to parse AAC files in M4A.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7705 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 20:50:32 +00:00
Dave Chapman
c3f901be56 Correct the prototype for memmove (oops, forgot this file)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7702 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 20:41:54 +00:00
Dave Chapman
6726f4fcf6 Correct the prototype for memmove
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7701 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 20:40:08 +00:00
Dave Chapman
798a4f3533 Changes to make libfaad compile in Rockbox. Also remove compiler warnings, use some IRAM (IRAM usage needs reviewing) and drastically reduce the stack usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7700 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 20:33:27 +00:00
Dave Chapman
65de1cc6af Initial check-in of unmodified libfaad (part of the FAAD2 project). This is the last version of libfaad available under the GPL - the state of FAAD2 CVS at midnight on 2005-02-01
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7699 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 18:56:29 +00:00
Kevin Ferrare
b83dc3861e Corrected a small bug about status bar not refreshing the clock in menus on archos, added some H1x0 remote key bindings (thanks Stephan Wezel for the patch ! )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7698 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 18:38:48 +00:00
Thom Johansen
65fe5f144d Some more IBSS_ATTR changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7697 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 13:00:14 +00:00
Kevin Ferrare
162ab7baeb A small visual bug fixed with menus when in some cases the status bar was not redrawn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7695 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 23:54:12 +00:00
Kevin Ferrare
2b3695f538 oops a little warning in menu.c, fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7694 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 22:41:29 +00:00
Kevin Ferrare
db8415c99e Partial menus support on remote (only browsing is working, changing option isn't), corrected a bug in gui_list about scrollbar beeing displayed sometimes when it musn't
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7693 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 22:34:51 +00:00
Dave Chapman
fca6b63ef7 Fix bug with FLAC and ALAC output being half the correct volume. The DSP_SET_SAMPLE_DEPTH function expects needs clarifying or changing - it seems to expect one less than the number of bits in cases where the depth is greater than the native depth (16 bits).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7692 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 22:06:42 +00:00
Dave Chapman
29c7da9e69 Don't copy the data from the audio buffer - request_buffer() guarantees to always return up to GUARD_BUFSIZE bytes, even at the buffer wraparound point. This removes the need for the 32KB static input buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7691 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 21:04:32 +00:00
Dave Chapman
15a830bdba Skip ID3v2 tags at the start of a FLAC file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7689 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 15:07:40 +00:00
Miika Pekkarinen
a4c190f7d4 Increased the guard buffer size to support larger frame sizes used by
FLAC codec for example.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7688 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 09:30:14 +00:00
Miika Pekkarinen
b142a58124 Moved also the other mutex into a right place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7687 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 08:51:47 +00:00
Miika Pekkarinen
74528fc4a4 Added a missing mutex lock to the initial buffer filling code. That
fixes a problem with some FLAC files.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7686 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 08:27:34 +00:00
Miika Pekkarinen
169c935c24 Optimizations to the FLAC-codec buffer requesting to eliminate the
need of extra copying.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7685 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 07:38:52 +00:00
Kevin Ferrare
a3ed62b36f Corrected a bug on archos with buttonbar which was erased when filetree refreshed (mistake introduced in 2005/10/29 commit; Changed some copyrights in the files (I hope this time will be the good one and the last one ! )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7684 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 01:24:35 +00:00
Dave Chapman
6934eaf225 Oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7683 a1c6a512-1295-4272-9138-f99709370657
2005-10-29 18:00:04 +00:00
Dave Chapman
45f9e5d7b0 Remove generic M4A parsing code from libalac and create a libm4a - so it can be used by other codecs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7682 a1c6a512-1295-4272-9138-f99709370657
2005-10-29 17:12:52 +00:00
Kevin Ferrare
e75cbdd2a8 Some changes to the remote code : some one lines function turned into macros ; changed pre-increment to post-increment since it's clearer that way ; added a data pointer to the list callback (global variables are baaaad) ; some more documentation of the API and minor cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7681 a1c6a512-1295-4272-9138-f99709370657
2005-10-29 02:33:19 +00:00
Dave Chapman
dff9352430 Initial seeking support. This only seeks to the nearest point (before the target sample) in the seektable. NOTE: not all FLAC files have seektables - some front-ends have the skill to create FLAC files without them. You can add seek points every 10 seconds to a FLAC file with the command: metaflac --add-seekpoint=10s file.flac
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7680 a1c6a512-1295-4272-9138-f99709370657
2005-10-29 01:39:07 +00:00
Kevin Ferrare
d452d26885 Changed some fn names, also corrected a bug with fonts and made the filetree work like the original one (stop on reaching list limits when pressing button)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7679 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 23:52:49 +00:00
Thom Johansen
6ff8463216 Enabled the FLAC EMAC optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7678 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 22:03:52 +00:00
Jens Arnold
eb87ad5e32 H1x0: Fixed the non-working Stop in the file browser. Ondios: Added the same feature.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7677 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 21:57:30 +00:00
Thom Johansen
c01b987cca Squeezed two very frequently used arrays in IRAM for a very nice performance boost.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7676 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 20:21:58 +00:00
Dave Chapman
e12ab49b73 Add more useful error codes from decoder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7675 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 20:09:47 +00:00
Dave Chapman
55ebb9ffc3 Add gui directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7673 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 13:37:55 +00:00
Dave Chapman
d4bccf7f92 iso-8859-1 police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7672 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 13:18:11 +00:00
Kevin Ferrare
353c0f76db The wonderful starfield plugin huhuhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7670 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 01:31:03 +00:00
Linus Nielsen Feltzing
7d6b987892 Fixed Ondio and V2/FM compiling problems from the multiscreen patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7669 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 00:52:19 +00:00
Linus Nielsen Feltzing
530ff7de69 Ooops, forgot to commit these
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7668 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 00:17:15 +00:00
Dave Chapman
f1844c4166 1) Always enable the DSP. 2) Change codec to output one 32-bit array per channel containing samples left-shifted to 28-bits (instead of 16-bit interleaved samples). 3) Remove the two 16KB internal predicterror_buffer arrays (we use the output arrays instead) 4) Small internal rearrangement of the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7667 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 00:11:28 +00:00
Linus Nielsen Feltzing
7da9477bc3 Initial multi screen support by Kévin Ferrare (Patch #1318081)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7666 a1c6a512-1295-4272-9138-f99709370657
2005-10-28 00:00:00 +00:00
Dave Chapman
3efa91ed03 Should be referring to libffmpegFLAC, not libalac - how did this work in the past?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7665 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 17:04:57 +00:00
Dave Chapman
acf9f8455a Prevent compiler warning for LOGF builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7664 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 16:59:23 +00:00
Linus Nielsen Feltzing
dc9e201671 Support for a colon-separated path in APPEXTRA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 14:39:00 +00:00
Dave Chapman
d1dc0bd824 Zero the FLACContext during initialisation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7662 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 13:18:05 +00:00
Thom Johansen
5a4423fc23 Didn't mean to commit that...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7661 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 11:44:01 +00:00
Thom Johansen
292e4e90d7 Introduced usage of IBSS_ATTR and ICONST_ATTR in codec libraries.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7660 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 11:39:01 +00:00
Thom Johansen
e6021381ef Introduced usage of IBSS_ATTR and ICONST_ATTR to codec plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7659 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 11:32:02 +00:00
Thom Johansen
c2628f3af9 Replaced jump table with a more efficient one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7658 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 11:00:24 +00:00
Thom Johansen
0b38c7dcbe Assembler optimised LPC routines for Coldfire. Will enable them when codec has seen further testing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7657 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 00:33:38 +00:00
Dave Chapman
273d2e81f7 New FLAC decoder from the ffmpeg project
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7656 a1c6a512-1295-4272-9138-f99709370657
2005-10-26 12:35:58 +00:00
Miika Pekkarinen
bdf558ca53 Fixed the voice codec when no audio is playing. Now attenuating audio
instead of making the voice louder.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7653 a1c6a512-1295-4272-9138-f99709370657
2005-10-22 21:07:35 +00:00
Thom Johansen
6f9a84c2b8 Removed unneeded xxx2wav files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7652 a1c6a512-1295-4272-9138-f99709370657
2005-10-22 11:52:26 +00:00
Dave Chapman
533dbbef58 Fix downmixing problems in AC3/A52 decoder and small cleanup of unused code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7651 a1c6a512-1295-4272-9138-f99709370657
2005-10-22 11:37:16 +00:00
Dave Chapman
1a82763d3a Seeking support for AC3/A52 files. We assume they are always CBR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7650 a1c6a512-1295-4272-9138-f99709370657
2005-10-22 09:10:51 +00:00
Miika Pekkarinen
56bb45cfaf We reserved two bits instead of one bit for the new skipped attribute.
Fixed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7648 a1c6a512-1295-4272-9138-f99709370657
2005-10-21 07:25:19 +00:00
Miika Pekkarinen
c52f7f1b5e iRiver: Fixed broken items skipping on playlist: Now skipping and
marking them as bad instead of deleting the entries from playlist.
Faster buffered track skipping and preventing glitches from previous
tracks (still something might occur though, please report them).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7647 a1c6a512-1295-4272-9138-f99709370657
2005-10-21 06:40:45 +00:00
Jens Arnold
ddad7197ed H1x0: Slight optimisation of the grayscale library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7646 a1c6a512-1295-4272-9138-f99709370657
2005-10-20 19:56:32 +00:00
Miika Pekkarinen
4b2aa9830e Now correctly interrupting the dircache rebuilding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7645 a1c6a512-1295-4272-9138-f99709370657
2005-10-20 08:33:59 +00:00
Jens Arnold
abd9f83e92 Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 19:35:24 +00:00
Miika Pekkarinen
266f173b72 Eliminated the warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7643 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 12:00:34 +00:00
Miika Pekkarinen
57b25ca640 Do a transparent dircache rebuilding even if the rebuilding was
interrupted last time.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7642 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 11:34:32 +00:00
Miika Pekkarinen
127f069545 Fixed the playlist skipping with MusePack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7638 a1c6a512-1295-4272-9138-f99709370657
2005-10-18 06:52:58 +00:00
Magnus Holmgren
37011258d6 iriver: more codec library cleanup: remove codec_alloca and a some extraneous defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7637 a1c6a512-1295-4272-9138-f99709370657
2005-10-17 18:46:46 +00:00
Jens Arnold
69ffcd5356 Mandelbrot plugin: New fixed point routines, loosing a tiny bit of precision (3 bits), but way faster than before. Full precision routine uses the EMAC on coldfire. No more 64 bit arithmetics used except within the asm inlines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7636 a1c6a512-1295-4272-9138-f99709370657
2005-10-16 22:24:00 +00:00
Magnus Holmgren
0293dba5d2 iRiver: The audio init fix caused problems if a voice file was present.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7635 a1c6a512-1295-4272-9138-f99709370657
2005-10-16 12:05:58 +00:00
Jens Arnold
4960808651 Fixed beep setting strings in .cfg files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7634 a1c6a512-1295-4272-9138-f99709370657
2005-10-16 11:15:51 +00:00
Magnus Holmgren
62634a323e iriver: audio_init really needs to be called after playlist and tree init; delay initial application of buffer margin and crossfade to solve the settings dependency. This should fix the problem with large values in 'Max files in dir browser'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7633 a1c6a512-1295-4272-9138-f99709370657
2005-10-16 08:01:02 +00:00
Miika Pekkarinen
eb04a53830 Fixed the pops with musepack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7632 a1c6a512-1295-4272-9138-f99709370657
2005-10-16 06:19:23 +00:00
Dave Chapman
84d2f0e029 Fix compiler warnings in sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7631 a1c6a512-1295-4272-9138-f99709370657
2005-10-15 09:40:56 +00:00
Thom Johansen
3de190d9d7 Previous fix introduced tons of comparison warnings, just cast for now instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7628 a1c6a512-1295-4272-9138-f99709370657
2005-10-13 13:52:03 +00:00
Thom Johansen
4d7e5dfbdc Use correct types to avoid sim warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7627 a1c6a512-1295-4272-9138-f99709370657
2005-10-13 12:15:31 +00:00
Thom Johansen
c91e0bbfc9 Cleaned up the messy codec header and library system by merging codec.h, lib/codeclib.[ch] and lib/xxx2wav.[ch] into just codeclib.[ch]. Deleted much of the unused code in the xxx2wav portion. All codecs should now only include codeclib.h, and whatever codec specific headers are needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7626 a1c6a512-1295-4272-9138-f99709370657
2005-10-13 11:32:52 +00:00
Jens Arnold
507f72cd8c Musepack: emacified multiplication routines, gives a nice speed boost.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7624 a1c6a512-1295-4272-9138-f99709370657
2005-10-12 23:16:40 +00:00
Thom Johansen
0059995326 Cosmetic changes and cleanup. Removed all unused mad_timer code and a couple of unnecessary headers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7623 a1c6a512-1295-4272-9138-f99709370657
2005-10-12 16:25:59 +00:00
Ryan Jackson
7d51325b1d Skip buffer refill after end of playlist (conf_watermark == 0). With 'move to next folder' enabled, the last song in the folder was being buffered a second time if filebufused == 0 and the end of the playlist had been reached. This caused moving to the next folder to fail on some Vorbis files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7622 a1c6a512-1295-4272-9138-f99709370657
2005-10-12 08:49:37 +00:00
Thom Johansen
af0a264cf6 Disabled dynamic range compression.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7621 a1c6a512-1295-4272-9138-f99709370657
2005-10-11 23:06:32 +00:00
Thom Johansen
6762810ba6 Cleaned up code. Now passes full precision samples to the playback engine, and DSP is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7620 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 23:37:30 +00:00
Thom Johansen
f4921466c2 Not finding an APE tag for a Musepack file isn't fatal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7618 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 22:11:51 +00:00
Mats Lidell
1864e857dd Synced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7617 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 22:11:14 +00:00
Magnus Holmgren
f273f354eb iRiver/Vorbis: And don't specify -O2 twice...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7616 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 21:41:37 +00:00
Magnus Holmgren
07e375c369 iRiver/Vorbis: Actually use the rule in the makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7615 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 20:54:30 +00:00
Thom Johansen
0ad1ed632d Cleaned up to conform to one source code style, removed some tabs and some redundancies.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7614 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 20:19:09 +00:00
Thom Johansen
3d98ecf951 Added DSP support and started passing full precision samples to playback engine. Added dog slow seeking support (thanks to poor seeking support in file format). Some cosmetic changes. Still not realtime.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7613 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 19:56:40 +00:00
Jens Arnold
5fd58dc0ef Debug menu: Added flash ID reading and ROM dump for H1x0. * #if(def) cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7612 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 19:43:07 +00:00
Thom Johansen
849c2bbd9f seek_time should be reset here, not in each codec, as is currently done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7610 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 18:20:40 +00:00
Thom Johansen
0f91ef7a37 Added support for APE tags in Musepack files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7609 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 18:18:24 +00:00
Jens Arnold
625ef752fb Fixed some misleading comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7608 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 16:46:51 +00:00
Jens Arnold
891daf30b5 Removed an unnecessary instruction from the coldfire 64 bit multiplication.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7607 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 16:45:59 +00:00
Thom Johansen
1290e05641 Removed a ton of tabs, fixed some indentation and removed some unneeded includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7606 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 16:02:52 +00:00
Thom Johansen
6dfe98e196 Fixed an #if that would never trigger. Added inclusion of dsp.h and playback.h, since lots of codecs include these when they really shouldn't have to.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7605 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 15:54:36 +00:00
Henrik Backe
5a8f6bae94 Fixed broken "open with" in onplay menu.
A problem with duplicate entries still exists in "open with" which
I think is best solved by removing the scan_plugins() function in filetypes.c,
but I don't want to remove it without a discussing it first.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7603 a1c6a512-1295-4272-9138-f99709370657
2005-10-09 13:37:35 +00:00
Jens Arnold
104d38cd8b Changed the dircache option to 'Direcory cache: On/Off' * Synced deutsch.lang * Made some standard boolean yes/no settings more compact.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7601 a1c6a512-1295-4272-9138-f99709370657
2005-10-08 22:01:42 +00:00
Jens Arnold
1f39f2e748 Ported the memory guard debug feature to coldfire, using the breakpoint logic. There are 3 shortcomings compared to SH1: (1) While the setting itself survives RoLo, it cannot be read back because the debug module programming model is write only. (2) system_reboot() from a 'Debug' exception doesn't work because the CPU enters emulation mode, and the only way leaving this mode is via an rte instruction. (3) (fixable) Catching write accesses to the flash doesn't actually do anything because the flash memory area is set write protected in CSMR2, so a write attempt stalls the bus. * Cosmetic changes in system.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7600 a1c6a512-1295-4272-9138-f99709370657
2005-10-08 20:09:07 +00:00
Jens Arnold
1a4083d828 Adjust menu scrollbar height to the actual text height. Idea taken from patch #1306243 by Stephan Wezel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7598 a1c6a512-1295-4272-9138-f99709370657
2005-10-08 07:38:44 +00:00
Jens Arnold
13fcd68285 Patch #1316533 by Alexander Spyridakis: All characters on one virtual keyboard page for targets with large LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7597 a1c6a512-1295-4272-9138-f99709370657
2005-10-08 07:12:28 +00:00
Jens Arnold
a0b439c169 Patch #1239950 by Dave Hooper: Rotate cube while paused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7596 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 23:01:31 +00:00
Ryan Jackson
7d0b7e9378 Temporary trivial workaround for empty/invalid playlists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7595 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 22:55:30 +00:00
Jens Arnold
f23ab031a1 New demo plugin, screensaver style, by Kevin Ferrare.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7594 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 22:22:07 +00:00
Jens Arnold
bec86d7b92 Increased max. .lng file size to 8000 bytes to make greek fit again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7593 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 21:59:49 +00:00
Jens Arnold
e1f325d503 Cleared deprecated entries.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7592 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 21:48:12 +00:00
Jens Arnold
6a703fe49d New plugin: Fire effect, developed by Kevin Ferrare, adapted to archos and optimised by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7591 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 20:37:41 +00:00
Jens Arnold
74e4b250a6 New plugin: Plasma effect, developed by Mat Holton, imtegerised and extended by Kevin Ferrare.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7590 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 20:35:27 +00:00
Miika Pekkarinen
ab78b04680 Implemented directory caching. No more waiting for disk to spin up while
browsing when cache is enabled (system -> disk -> enable directory
cache). Cache building on boot is transparent except the first boot.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7588 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 17:38:05 +00:00
Dave Chapman
9e19c95d8e Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - letoh16, letoh32, htole16, htole32, betoh16, betoh32, htobe16 and htobe32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7584 a1c6a512-1295-4272-9138-f99709370657
2005-10-06 19:27:43 +00:00
Linus Nielsen Feltzing
1c3a83c44e Patch #1264727 by Dave Hooper, Colorize red cards on screens with LCD_DEPTH > 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7583 a1c6a512-1295-4272-9138-f99709370657
2005-10-06 12:42:19 +00:00
Daniel Stenberg
af48260399 Modified the viewers.config syntax slightly. The name field should now include
path of the plugin/viewer on target, but exclude the exension. Now the Sudoku
plugin acts as a normal plugin and a viewer at the same time.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7582 a1c6a512-1295-4272-9138-f99709370657
2005-10-05 08:02:10 +00:00
Daniel Stenberg
8dd2ff50c6 removed plugins we no longer build nor include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7581 a1c6a512-1295-4272-9138-f99709370657
2005-10-05 07:23:59 +00:00
Dave Chapman
33e935ce1d Added the "New" menu option. This allows you to manually enter and then save a new grid. Press the menu button when you have finished and enter the full path to save to including the .ss extension (e.g. /sudoku/new.ss).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7580 a1c6a512-1295-4272-9138-f99709370657
2005-10-04 23:36:03 +00:00
Dave Chapman
598be3af1b Make the load function handle some variations to the "standard" for .ss files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7579 a1c6a512-1295-4272-9138-f99709370657
2005-10-04 21:30:37 +00:00
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
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
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
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
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
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
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
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
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
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
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
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