Commit graph

177 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
5f655c93f9 Patch #5639 by Ulrich Pegelow, inits the M5636 USBOTG chip on the X5 to reduce the battery consumption.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10208 a1c6a512-1295-4272-9138-f99709370657
2006-07-13 07:40:30 +00:00
Jens Arnold
977169ea7a H300: Rudimentary driver for the ISP1362 USB on-the-go controller. For now it just sends the chip to sleep, solving the poor battery runtime issue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10128 a1c6a512-1295-4272-9138-f99709370657
2006-06-16 17:34:18 +00:00
Jens Arnold
de47d10a0a Enable interrupts before lcd_init(), as that uses sleep() on some targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10095 a1c6a512-1295-4272-9138-f99709370657
2006-06-08 23:18:11 +00:00
Jens Arnold
0dd1f8ec11 Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-06 22:23:52 +00:00
Peter D'Hoye
59953140a7 fix yellow builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10002 a1c6a512-1295-4272-9138-f99709370657
2006-05-28 08:44:32 +00:00
Miika Pekkarinen
196b770a96 Init dircache after applying settings and use a splash. Possible prevent
some type of buffer overflow with tagcache.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9997 a1c6a512-1295-4272-9138-f99709370657
2006-05-27 11:21:08 +00:00
Jens Arnold
b09df8019a (1) Tagcache commit message now uses splash on bitmap displays: * Uses user font (better readability because of font size, message can be localised in languages with non-latin script). * Solves mysterious screen clear observed on Ondio (caused by an uninitialised variable when there was nothing to commit). * Smaller code. (2) Tagcahce commit message implemented for Player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9981 a1c6a512-1295-4272-9138-f99709370657
2006-05-24 07:31:23 +00:00
Peter D'Hoye
6488177d05 Init voice before audio because audio needs to know the voice buffer size. Seems to fix the occasional freeze at startup (if voice is used), and also seems to fix voice eating itself after playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9849 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 12:54:21 +00:00
Miika Pekkarinen
e5356c5a36 Use sysfont for the "committing tagcache" message.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9650 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 21:20:13 +00:00
Miika Pekkarinen
1b18dd0f17 Show progress while committing tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9637 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 10:31:24 +00:00
Miika Pekkarinen
4a63c09c86 Initial support for the advanced conditional fully configurable tagcache
browser. Browsing not supported by numeric tags yet, and some features
work currently only when tagcache is loaded in ram.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9501 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 19:28:13 +00:00
Linus Nielsen Feltzing
893d248935 Removed some debug code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9329 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:44:28 +00:00
Linus Nielsen Feltzing
cf0892fd79 Audio support for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9328 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 20:43:47 +00:00
Miika Pekkarinen
de2f070577 Fixed the yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9264 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 17:48:12 +00:00
Miika Pekkarinen
7c4e0c8730 Initial version of tagcache! There are still some bugs in the engine
and much more problems with the UI.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 11:33:42 +00:00
Dave Chapman
1272c8a696 iPod: Reset the settings if the hold button is turned on before Rockbox starts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8826 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 12:37:50 +00:00
Miika Pekkarinen
d319116be4 iriver: Init audio on background.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8465 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 11:39:46 +00:00
Linus Nielsen Feltzing
7da0c40f4b Patch #1382969 by Peter D'Hoye - recording for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8252 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 10:13:29 +00:00
Miika Pekkarinen
8e8c1a8b8f Now define SETTINGS_RESET if we have a button to reset settings during
boot.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8191 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 12:35:54 +00:00
Miika Pekkarinen
e769b80cd9 Oops, tagcache calls was not supposed to be in the previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8190 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 12:01:25 +00:00
Miika Pekkarinen
a697717f5d Holding record button immediately after rockbox bootloader, causes
settings to be cleared.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8189 a1c6a512-1295-4272-9138-f99709370657
2005-12-07 11:20:56 +00:00
Linus Nielsen Feltzing
55e9670c70 USB support for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8167 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 10:06:40 +00:00
Dave Chapman
8c800cf59a Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC defines from config-*.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 15:23:47 +00:00
Dave Chapman
5009c9c1b8 Split the HAVE_RTC define into HAVE_RTC, HAVE_RTC_RAM and CONFIG_RTC - in preparation for targets (H300, iPod) which have a clock (HAVE_RTC) but no general purpose RAM available for settings data (HAVE_RTC_RAM). CONFIG_RTC is used to specify the low-level driver required.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8144 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 13:05:56 +00:00
Linus Nielsen Feltzing
b0dc813bcf I2C init for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8081 a1c6a512-1295-4272-9138-f99709370657
2005-11-27 02:37:12 +00:00
Jens Arnold
b51f7dfc9b Backlight handling: * Added 'Caption Backlight' and 'Backlight On When Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 23:55:39 +00:00
Jens Arnold
bccfae0a58 Fixed crash with early USB. The USB screen already uses some of the new GUI code, so we have to init before. Fixed problem with gui_syncstatusbar_init() drawing the status bar(s) right away.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8030 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 18:39:18 +00:00
Kevin Ferrare
0d9c7b5bcb Applied Stephan Wezel's patch for the new wps %wd/%we tags (disable/enable statusbar in wps mode independantly from the global setting)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8015 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 22:13:52 +00:00
Miika Pekkarinen
354a00627e User now receives a message if initial directory cache initialization
fails.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7988 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 09:47:31 +00:00
Linus Nielsen Feltzing
e16ebf1a50 Moved the power_init() call to main(), removed unfinished inits for the H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7964 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:55:51 +00:00
Christi Scarborough
4c0b83f5e9 Remote WPS support (and some WPS bugfixes) by Stephan Wezel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7934 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 20:14:59 +00:00
Andy
e6e5496535 iRiver: Initial support for wav-recording in recording menu. Supports mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7818 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 04:00:56 +00:00
Linus Nielsen Feltzing
219944f6a3 That was *not* supposed to be committed :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7798 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 23:51:36 +00:00
Linus Nielsen Feltzing
1b4cb9ecb7 Removed a redundant comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7797 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 23:50:24 +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
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