Commit graph

7704 commits

Author SHA1 Message Date
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
Jens Arnold
c56069f01a Removed unused variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7630 a1c6a512-1295-4272-9138-f99709370657
2005-10-14 06:01:37 +00:00
Jens Arnold
9322009446 Coldfire: (1) Keep the correct CRSEL and CLSEL values in the PLLCR register for CPUFREQ_DEFAULT. Fixes non-working treble & bass controls in radio screen. (2) Save a bit more power by powering down the PLL at CPUFREQ_DEFAULT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7629 a1c6a512-1295-4272-9138-f99709370657
2005-10-14 05:52:24 +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
f9cc638efd Fixed non-working treble & bass settings in radio mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7625 a1c6a512-1295-4272-9138-f99709370657
2005-10-13 00:32:34 +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
Marcoen Hirschberg
b91e9fdfa9 tools should not be made with the cross-compiler..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7619 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 22:55:15 +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
Jens Arnold
f6bb10a485 Iriver: No write protection for flash ROM area, correct number of waitstates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7611 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 19:24:39 +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
Marcoen Hirschberg
c42246f13f run make in Tools, so they are up to date.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7604 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 00:25:46 +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
Miika Pekkarinen
20bc58dc9a Do not try to read from dircache if directory was opened when cache was not
available.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7602 a1c6a512-1295-4272-9138-f99709370657
2005-10-09 07:32:23 +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
Miika Pekkarinen
b76e8c09fa Fixed a problem with dircache where filetree modified dircache
structures directly. Moved #ifdef directly to SOURCES instead of
dircache.c to decide whether to compile the cache or not.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7599 a1c6a512-1295-4272-9138-f99709370657
2005-10-08 18:41:11 +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
44964c6641 Fixed the bootloader compile failure by disabling new directory cache
from bootloader builds (there is not much IRAM space in bootloader for unnecessary
code).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7589 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 18:12:02 +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
Björn Stenberg
86e31d5558 Added year separators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7587 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 11:41:02 +00:00
Dave Chapman
207c9500aa Cosmetic correction (doesn't affect compiled code) - use letohNN instead of htoleNN in update_fat_entry()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7586 a1c6a512-1295-4272-9138-f99709370657
2005-10-06 21:23:59 +00:00
Dave Chapman
da6c0a0e46 Fix channel-swapping bug in iriver recordings. Left and Right channels should now be correctly written to the WAV file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7585 a1c6a512-1295-4272-9138-f99709370657
2005-10-06 21:19:18 +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