Commit graph

127 commits

Author SHA1 Message Date
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
Jörg Hohensohn
82e9438e2e oh, I need to commit this Ondio hack, else nobody can test with the automated build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5080 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 08:02:07 +00:00
Jens Arnold
abe77a1a2a More const policeing step 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 21:50:57 +00:00
Linus Nielsen Feltzing
d659282f6d Removed some obsolete stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4937 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 17:57:02 +00:00
Linus Nielsen Feltzing
7bade1a24f Bass boost removed in favour of some new sound settings: Super bass and five new MDB parameters: strength, harmonics, center, shape and enable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4839 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 12:17:14 +00:00
Linus Nielsen Feltzing
15124aa7c2 Now handles an empty disk better. This solves bug report #984690.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4832 a1c6a512-1295-4272-9138-f99709370657
2004-07-05 22:13:20 +00:00
Jörg Hohensohn
6ff6d21d13 settings_load() is now split in RTC and HD part, so RTC settings get loaded early (car adapter mode)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4776 a1c6a512-1295-4272-9138-f99709370657
2004-06-19 15:50:02 +00:00
Linus Nielsen Feltzing
e85acf10c8 The USB monitoring started before the ATA thread, leading to badness when Rockbox was started from flash with the USB cable inserted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4685 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 21:49:04 +00:00
Linus Nielsen Feltzing
b81a3c54a4 We now start monitoring USB earlier, and can enter USB mode from the debug partition viewer. This fixes bug #799491.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4438 a1c6a512-1295-4272-9138-f99709370657
2004-03-25 12:29:34 +00:00
Jörg Hohensohn
4f36ea8fbf First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 21:33:53 +00:00
Jörg Hohensohn
f993365447 Moved the low-level playback functionality into a new, separate module "mp3_playback". This e.g. allows to export a memory playback API to the plugins, opens the door to games with sound, UI sounds, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4192 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 20:42:51 +00:00
Daniel Stenberg
7df25eb23c kill an "unused variable" compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4153 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:45:14 +00:00
Daniel Stenberg
8e43ccbec6 Initial suppport for building Rockbox for Neo. The Neo has a different
key layout so we need to check for this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:34:27 +00:00
Jörg Hohensohn
44298163ba No more spinning disk while charging flashed FM+V2 (you need the new bootloader to utilize it). ToDo: remove now false voltage reading from charging screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4095 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 01:03:54 +00:00
Björn Stenberg
577e571958 Removed startup_io test code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4045 a1c6a512-1295-4272-9138-f99709370657
2003-11-20 00:01:13 +00:00
Linus Nielsen Feltzing
53ee344743 Slightly more correct initialization of the power/charging code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3940 a1c6a512-1295-4272-9138-f99709370657
2003-08-25 08:57:49 +00:00