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
Linus Nielsen Feltzing
60895bc107
Patch #1272052 by Henrik Backe - Move credits to a plugin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 05:39:09 +00:00
Jens Arnold
d6c054575b
Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Miika Pekkarinen
159c52dd36
Initial voice ui support for software codec platforms. Added also a
...
beep when changing tracks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 11:13:19 +00:00
Miika Pekkarinen
f090dc3829
Crossfade (and pcm buffer size) length is now configurable.
...
Implemented anti-skip buffer setting for iriver also. Settings block
bumped up, PLEASE SAVE YOUR SETTINGS BEFORE UPGRADING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7210 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 11:44:00 +00:00
Daniel Stenberg
771ed79f73
make pcmbuf_init() an empty macro on targets with HW codec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7146 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 21:32:56 +00:00
Miika Pekkarinen
cd20166895
Call pcmbuf_init() on simulator too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7144 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 21:07:05 +00:00
Miika Pekkarinen
20b3897474
Separated buffering stuff from pcm_playback to pcmbuf. Renamed some
...
function calls (audiobuffer -> pcmbuf etc.).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7131 a1c6a512-1295-4272-9138-f99709370657
2005-07-13 12:48:22 +00:00
Jens Arnold
7c7dd43ccf
Fixed a long-standing bug in the charging screen. The charging screen froze when OFF was pressed. The intention was to powerdown, but this cannot work on archos, so the charging screen must not react on OFF. Made the charging screen react on the ON press instead of the release for better feedback. Bootbox uses SYS_POWEROFF for powering down.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7104 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 19:14:26 +00:00
Linus Nielsen Feltzing
52d5b30700
Wrong iriver model check
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7084 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 08:05:04 +00:00
Jens Arnold
3a5bd7acb6
Enabled scrolling on the remote LCD in the simulator. Some small shortcuts in the H1x0 remote LCD driver and the recorder LCD driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7057 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 21:03:58 +00:00
Michiel Van Der Kolk
d6ab723584
moved rundb_init back to main, it has to be inited after audio_init, also, it has nothing to do with tree (though tagdb does have to do with tree)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7014 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:10:42 +00:00
Jens Arnold
8102f3da27
New option to enable/disable the runtime database. Moved the runtimedb init to a more appropriate place and added proper USB handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6984 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 10:50:42 +00:00
Michiel Van Der Kolk
10b2069aed
Fixed a warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6971 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 18:01:23 +00:00
Michiel Van Der Kolk
c735ed7914
First runtime database support, self repairing, only playcount works for now,
...
which is still rather crude; playcount gets increased even if the song started playback but was skipped... track rating should be trivial to add, autorating also works since its based on playcount.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6969 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 17:29:44 +00:00
Jens Arnold
97a8049389
New feature for units that can be powered or charged from USB (Recorder fm/v2, Ondios): USB power mode, based on patch #1110332 by Pieter Bos. This way you can save battery power or even charge the battery (fm/v2) while using your unit near a PC. Hold MODE (Ondio) or F1 (fm/v2) while plugging USB to enter that mode. A tiny USB plug icon will be displayed is the status bar (overridden by the regular power plug icon in case of fm/v2 when the charger is connected).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6836 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 02:18:29 +00:00
Jörg Hohensohn
1b4e3091c8
no if(!usb_detect()) check around the autorock execution since we have early usb detection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6797 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 06:11:51 +00:00
Jens Arnold
6514435d3b
Iriver: Properly apply sound settings on startup. Moved some inits to more appropriate places.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6774 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 10:04:16 +00:00
Andy
e5d08722f8
Iriver: First attempt at recording. Use Info->Debug->PCM recording to test recording of wav-files. Seams to work fine except occasional 100 ms noise at pos 100 ms (not later) so initialization or synch problem..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6763 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 03:05:53 +00:00
Jens Arnold
5690f78fb2
Multiple choice LED configuration instead of HAVE_LED. Removes erroneous MMC icon display on iriver, and saves some code on Ondio. Removed invert_led() as it is no longer used.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6568 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 23:15:52 +00:00
Jens Arnold
27abc2a641
(1) Early USB detection on boot, before trying to mount the partitions. Cleaner & quicker; removes the need for the extra USB check at the top of ask_resume() which caused a deadlock in screenshot mode (see patch #1110332 ). On Ondio, this allows to leave an MMC in the slot when booting with USB connected for instant access. (2) Ondio: Track MMC status, only ask to remove the card if required. Probe MMC status if unknown.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6488 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 22:10:51 +00:00
Jens Arnold
fe1ce9d842
Hotswap: Better placement for switching the MMC monitor off/on.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6480 a1c6a512-1295-4272-9138-f99709370657
2005-05-16 15:21:09 +00:00
Jens Arnold
15d7077c3a
Hotswap: Avoid mount race at startup and after returning from USB mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6479 a1c6a512-1295-4272-9138-f99709370657
2005-05-16 13:25:02 +00:00
Christian Gmeiner
7c1879bdd0
IRiver: (1)Setting some remote lcd settings via menu (2) added driver to main.c (3) updated english.lang
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6291 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 12:08:49 +00:00
Linus Nielsen Feltzing
3d2178148b
Moved the car adapter mode handling to apps/, now every thread gets SYS_CHARGER_CONNECTED and SYS_CHARGER_DISCONNECTED events
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6255 a1c6a512-1295-4272-9138-f99709370657
2005-04-06 11:12:22 +00:00
Linus Nielsen Feltzing
8a237a829e
More audio code restructuring, mostly renaming functions so far
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
9253d4d5de
iRiver: call pcm_init() instead of uda1380_init()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6236 a1c6a512-1295-4272-9138-f99709370657
2005-03-31 06:50:34 +00:00
Henrik Backe
c1a951f524
Fixed link error for Archos Players/Recorders
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6232 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 13:00:22 +00:00
Michiel Van Der Kolk
451dd48adc
Sound api improvements, rockboy sound, contributed by xshock.
...
Playback of sound currently only works in boost mode, needs fixing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:00:24 +00:00
Linus Nielsen Feltzing
e7b993f1f6
main() now sets the default CPU frequency
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6208 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 11:38:15 +00:00
Daniel Stenberg
8ef88a1815
Build Rockbox for iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5759 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 08:36:43 +00:00
Jens Arnold
3c348df5ca
Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 22:48:25 +00:00
Jens Arnold
0f04029293
New way of handling the builtin language strings. Now the string pointers are no longer stored as initialised data, but calculated by walking one long string containing all language strings separated by \0. While this doesn't need more RAM, it fixes the problem that loading incomplete .lng files after complete ones did not reset the missing strings to the default, and it also decreases the binary size by >1700 bytes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5608 a1c6a512-1295-4272-9138-f99709370657
2005-01-19 21:43:15 +00:00
Jens Arnold
76b257fd40
New channel configuration setting, allowing fine-grained control of the stereo width. This replaces the 'stereo narrow' and 'stereo wide' modes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5559 a1c6a512-1295-4272-9138-f99709370657
2005-01-12 00:24:15 +00:00
Jörg Hohensohn
7ee03d0493
killed a warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5519 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:33:32 +00:00
Jörg Hohensohn
1a5962f2be
Shared mounting code, also more general. It will mount multiple HD partitions, too, once HAVE_MULTIVOLUME is enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5518 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:10:24 +00:00
Jörg Hohensohn
da84857631
prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:16:07 +00:00
Jens Arnold
7197edd8e2
Player: Do not display charging screen on coldstart with charger connected if HD is powered. This is to suppress the charging screen for very old players which cannot control HD power, and relies on proper probing in the bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5488 a1c6a512-1295-4272-9138-f99709370657
2004-12-16 22:31:26 +00:00
Jens Arnold
67b17e118f
Show rockbox logo again after leaving the charging screen, to provide better visual feedback
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5455 a1c6a512-1295-4272-9138-f99709370657
2004-11-21 09:29:51 +00:00
Björn Stenberg
e34567932e
Fixed iriver simulator build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5392 a1c6a512-1295-4272-9138-f99709370657
2004-11-09 19:55:28 +00:00
Jörg Hohensohn
ef8d508d5a
tuner cleanup + improvements:
...
- use sleep and powerdown for those who can
- philips station search works now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5306 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 08:20:38 +00:00
Jörg Hohensohn
4a5df8e8d1
oops, I broke the player build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5290 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 22:10:55 +00:00
Jörg Hohensohn
8f8fbac1fd
Philips tuner prepared, new middle layer to abstract which tuner is used
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5289 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 21:41:46 +00:00
Linus Nielsen Feltzing
688b4ddec6
iRiver: the backlight blink loop is now done in C, using two threads, as a test of the threading code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5283 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:16:31 +00:00
Jens Arnold
ccfa4cd97a
Removed car adapter mode for Ondio, and changed the misleading config option HAVE_BATTERIES to the more appropriate HAVE_CHARGING
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5242 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 01:25:32 +00:00
Jens Arnold
fb56ee6113
Moved Ondio main menu hack in order to properly browse fonts, langs, rocks and .wps files. This does only work after filetype_init()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5151 a1c6a512-1295-4272-9138-f99709370657
2004-10-02 12:10:16 +00:00
Jens Arnold
36056003b9
Adjusted temporary Ondio hack for new capabilities
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5130 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 21:41:10 +00:00
Jens Arnold
c12e87d881
The config sector number is now calculated from the lowest partition start sector. Needed for disks with sectors_per_track < 63, e.g. flash cards.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5124 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 18:09:10 +00:00
Jens Arnold
2d875f83e6
Disabled all code for the serial remote on Ondio, since the serial port is needed for MMC access.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5097 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 22:15:35 +00:00
Björn Stenberg
6c33c51a4c
Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00