Magnus Holmgren
ea7992455a
Make the updated %rg tag match playback behaviour (fall back to track gain if album gain requested but not available). Share the mode decision logic with playback code and simplify the %rg tag handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11532 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 20:26:33 +00:00
Barry Wardell
8d2711b7d2
Improved power management (FS#3001). Shutdown rockbox when the battery gets to a level where the device doesn't function properly. Calculate remaining charging time while charging (rather than remaining running time). Show "Low Battery" and "Battery Empty" warnings. Also fixes FS#4786.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11507 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 01:18:57 +00:00
Jonathan Gordon
0d941425b9
call call_ata_idle_notifys on clean shutdown, this should work, but
...
threads with possible callbacks should deal with shutdown/usb
themselves.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11480 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 12:36:50 +00:00
Michael Sevakis
0f5cb94aa4
Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:07:30 +00:00
Jonathan Gordon
710ccb7b48
ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 10:17:57 +00:00
Miika Pekkarinen
a1ac743453
Implement fast_readline as a function and use it for tagtree also.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11301 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 20:37:33 +00:00
Linus Nielsen Feltzing
da153da0be
Patch #5166 by Robert Keevil - Last.fm logging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11269 a1c6a512-1295-4272-9138-f99709370657
2006-10-19 09:42:58 +00:00
Miika Pekkarinen
53d662b33c
Don't try to fade unless audio is playing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11257 a1c6a512-1295-4272-9138-f99709370657
2006-10-18 12:59:13 +00:00
Miika Pekkarinen
6938f56093
Fade out audio on shutdown if enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11256 a1c6a512-1295-4272-9138-f99709370657
2006-10-18 12:54:23 +00:00
Jens Arnold
ceac1733c5
Fixed screendump for iPod Mini.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11088 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 06:22:43 +00:00
Linus Nielsen Feltzing
537c7546f9
Patch #4899 by Robert Keevil - Automatic pause on iPod when removing the headphones
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11057 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 10:03:56 +00:00
Miika Pekkarinen
6ee82e702c
Properly shutdown audio playback early and flush system, including not
...
hanging tagcache. Fixed also tagcache line buffer running out when
importing a changelog with very long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11030 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 10:29:14 +00:00
Peter D'Hoye
c4a59a290b
eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, added debug entry for h3x0 that allows to write to the eeprom
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10597 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 22:54:06 +00:00
Rani Hod
c9f59e6f75
Accepted FS #5772 by Michael Sevakis
...
1. X5 lcd sleep
2. #define HAVE_LCD_ENABLE
3. add "backlight (on hold switch)" setting, adapted from FS #5735
Note that the while(1) yield ==> asm("halt") part is NOT commited here,
I prefer it would be discussed separately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10489 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 22:03:56 +00:00
Miika Pekkarinen
954b732654
Initial support and use for EEPROM memory on H120 & H140 players when
...
Rockbox firmware has been flashed over original firmware (not yet
possible to do). Dircache & tagcache serialization for fast bootup
without the need to scan disk when Rockbox is in flash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10464 a1c6a512-1295-4272-9138-f99709370657
2006-08-05 20:19:10 +00:00
Jens Arnold
a048346fa7
Rockbox logo adjusted to the correct iriver remote LCD size, and rockbox logo for the upcoming X5 remote LCD driver, by Marianne Arnold.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10334 a1c6a512-1295-4272-9138-f99709370657
2006-07-26 23:47:29 +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
Jens Arnold
542d9b5942
Greyscale ipods: Fixed screendump for the (not-so-) new framebuffer format.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9873 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 21:26:38 +00:00
Jens Arnold
5074ec0037
Clear all screens before the shutdown splash.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9786 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 06:34:45 +00:00
Miika Pekkarinen
3b31346103
Commit tagcache in background when possible (at least dircache enabled).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9686 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 17:32:54 +00:00
Dave Chapman
95538f6949
First attempt at generating and using .h files from bitmaps using bmp2rb. The .h files are generated for both the core bitmaps and the plugins, but are only currently being used in the core.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8759 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 01:23:30 +00:00
Jens Arnold
da5cef6330
Proper screendump for greyscale iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8735 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 12:31:04 +00:00
Dave Chapman
1e7043a20b
Initial attempt at using bmp2rb in the build system. Don't forget to re-run configure
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8418 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 21:30:32 +00:00
Brandon Low
3249f3eb87
Fix red builds more
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8394 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 20:44:57 +00:00
Daniel Stenberg
f981ea93fb
kill gcc4 warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:44:42 +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
Jens Arnold
4205407b8a
Cleanup of the screendump routine. More similar operation for the various LCD depths, and a bit smaller code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8074 a1c6a512-1295-4272-9138-f99709370657
2005-11-26 23:50:24 +00:00
Jens Arnold
49a0a945ac
Win32 simulator now supports iPod Color. Fixed screendump() to correctly work for iPod simulators on big endian machines. Removed duplicate button definitions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8035 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 01:15:31 +00:00
Dave Chapman
664a4189b2
Use LCD_PIXELFORMAT instead of CONFIG_LCD in screen_dump()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7978 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 02:14:16 +00:00
Jens Arnold
b0a4b3e2b0
Fixed the 16bit screendump to work with either endianess and use the 16 bit BMP format.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7920 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 00:13:07 +00:00
Kevin Ferrare
e991beed6d
replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 15:12:15 +00:00
Dave Chapman
07480a7c9d
Add logos for iPod color and Nano
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7889 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 02:19:02 +00:00
Linus Nielsen Feltzing
2dd518a59b
H300 logo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7878 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:46:48 +00:00
Dave Chapman
b27ecbd629
Implement screen_dump() function for 16-bit colour displays
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7847 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 16:13:00 +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
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
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
58e9412bff
Added universal functions for creation of numbered filenames and date+time filenames (units with RTC only). Some size optimisations within code using these new functions. Everything should behave as before, except config saving will always find the highest file number + 1 even if the sequence is non-contiguous.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7449 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 01:15:35 +00:00
Linus Nielsen Feltzing
49483bc488
Fixed sim warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7352 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 14:46:35 +00:00
Linus Nielsen Feltzing
670abf99ae
The shutdown message is now displayed before saving the database, giving better user feedback when whutting off the player
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7351 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 14:23:18 +00:00
Jens Arnold
f894a4c269
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Jens Arnold
0ec97339ae
Check for features, not for models.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 16:22:56 +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
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
Thom Johansen
fd01ca38f6
Change the colour of screendumps to blue on irivers.
...
Patch from rasher.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6140 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 15:39:00 +00:00
Linus Nielsen Feltzing
6dca87e60c
iRiver: Fixed screendump() function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5913 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 14:38:44 +00:00
Linus Nielsen Feltzing
6da68019b5
iRiver: Allow shutdown when charging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5887 a1c6a512-1295-4272-9138-f99709370657
2005-02-10 21:53:41 +00:00
Jean-Philippe Bernardy
f64939eeda
oops again, incomplete long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5843 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 22:56:37 +00:00
Jean-Philippe Bernardy
947dceb205
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5839 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 21:54:31 +00:00
Christi Scarborough
247fe6d698
clean shutdown for idle timer and sleep timer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5814 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 09:57:57 +00:00