summaryrefslogtreecommitdiff
path: root/apps/main.c
AgeCommit message (Collapse)Author
2005-07-04moved rundb_init back to main, it has to be inited after audio_init, also, ↵Michiel Van Der Kolk
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-02New option to enable/disable the runtime database. Moved the runtimedb init ↵Jens Arnold
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-01Fixed a warning.Michiel Van Der Kolk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6971 a1c6a512-1295-4272-9138-f99709370657
2005-07-01First runtime database support, self repairing, only playcount works for now,Michiel Van Der Kolk
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-06-23New feature for units that can be powered or charged from USB (Recorder ↵Jens Arnold
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-22no if(!usb_detect()) check around the autorock execution since we have early ↵Jörg Hohensohn
usb detection git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6797 a1c6a512-1295-4272-9138-f99709370657
2005-06-20Iriver: Properly apply sound settings on startup. Moved some inits to more ↵Jens Arnold
appropriate places. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6774 a1c6a512-1295-4272-9138-f99709370657
2005-06-19Iriver: First attempt at recording. Use Info->Debug->PCM recording to test ↵Andy
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-04Multiple choice LED configuration instead of HAVE_LED. Removes erroneous MMC ↵Jens Arnold
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-05-17(1) Early USB detection on boot, before trying to mount the partitions. ↵Jens Arnold
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-16Hotswap: Better placement for switching the MMC monitor off/on.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6480 a1c6a512-1295-4272-9138-f99709370657
2005-05-16Hotswap: Avoid mount race at startup and after returning from USB mode.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6479 a1c6a512-1295-4272-9138-f99709370657
2005-04-15IRiver: (1)Setting some remote lcd settings via menu (2) added driver to ↵Christian Gmeiner
main.c (3) updated english.lang git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6291 a1c6a512-1295-4272-9138-f99709370657
2005-04-06Moved the car adapter mode handling to apps/, now every thread gets ↵Linus Nielsen Feltzing
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-04More audio code restructuring, mostly renaming functions so farLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-03-31iRiver: call pcm_init() instead of uda1380_init()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6236 a1c6a512-1295-4272-9138-f99709370657
2005-03-28Fixed link error for Archos Players/RecordersHenrik Backe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6232 a1c6a512-1295-4272-9138-f99709370657
2005-03-28Sound api improvements, rockboy sound, contributed by xshock.Michiel Van Der Kolk
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-18main() now sets the default CPU frequencyLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6208 a1c6a512-1295-4272-9138-f99709370657
2005-02-03Build Rockbox for iRiverDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5759 a1c6a512-1295-4272-9138-f99709370657
2005-01-26Changed several places to use button_clear_queue() to empty the button ↵Jens Arnold
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-19New way of handling the builtin language strings. Now the string pointers ↵Jens Arnold
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-12New channel configuration setting, allowing fine-grained control of the ↵Jens Arnold
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
2004-12-29killed a warningJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5519 a1c6a512-1295-4272-9138-f99709370657
2004-12-29Shared mounting code, also more general. It will mount multiple HD ↵Jörg Hohensohn
partitions, too, once HAVE_MULTIVOLUME is enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5518 a1c6a512-1295-4272-9138-f99709370657
2004-12-28prepared to mount multiple partitions into one logical file system (most ↵Jörg Hohensohn
useful for Ondio, internal memory + external MMC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
2004-12-16Player: Do not display charging screen on coldstart with charger connected ↵Jens Arnold
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-11-21Show rockbox logo again after leaving the charging screen, to provide better ↵Jens Arnold
visual feedback git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5455 a1c6a512-1295-4272-9138-f99709370657
2004-11-09Fixed iriver simulator buildBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5392 a1c6a512-1295-4272-9138-f99709370657
2004-10-19tuner cleanup + improvements:Jörg Hohensohn
- 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-15oops, I broke the player buildJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5290 a1c6a512-1295-4272-9138-f99709370657
2004-10-15Philips tuner prepared, new middle layer to abstract which tuner is usedJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5289 a1c6a512-1295-4272-9138-f99709370657
2004-10-15iRiver: the backlight blink loop is now done in C, using two threads, as a ↵Linus Nielsen Feltzing
test of the threading code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5283 a1c6a512-1295-4272-9138-f99709370657
2004-10-10Removed car adapter mode for Ondio, and changed the misleading config option ↵Jens Arnold
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-02Moved Ondio main menu hack in order to properly browse fonts, langs, rocks ↵Jens Arnold
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-09-29Adjusted temporary Ondio hack for new capabilitiesJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5130 a1c6a512-1295-4272-9138-f99709370657
2004-09-28The config sector number is now calculated from the lowest partition start ↵Jens Arnold
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-20Disabled all code for the serial remote on Ondio, since the serial port is ↵Jens Arnold
needed for MMC access. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5097 a1c6a512-1295-4272-9138-f99709370657
2004-09-19Redesigned the button handling. The code now uses symbolic function defines ↵Björn Stenberg
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-16oh, I need to commit this Ondio hack, else nobody can test with the ↵Jörg Hohensohn
automated build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5080 a1c6a512-1295-4272-9138-f99709370657
2004-08-01More const policeing step 1Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
2004-07-24Removed some obsolete stuffLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4937 a1c6a512-1295-4272-9138-f99709370657
2004-07-06Bass boost removed in favour of some new sound settings: Super bass and five ↵Linus Nielsen Feltzing
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-05Now handles an empty disk better. This solves bug report #984690.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4832 a1c6a512-1295-4272-9138-f99709370657
2004-06-19settings_load() is now split in RTC and HD part, so RTC settings get loaded ↵Jörg Hohensohn
early (car adapter mode) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4776 a1c6a512-1295-4272-9138-f99709370657
2004-05-21The USB monitoring started before the ATA thread, leading to badness when ↵Linus Nielsen Feltzing
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-03-25We now start monitoring USB earlier, and can enter USB mode from the debug ↵Linus Nielsen Feltzing
partition viewer. This fixes bug #799491. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4438 a1c6a512-1295-4272-9138-f99709370657
2004-03-14First step of the voice-UI: the menus can talk. You need a "voicefont" file ↵Jörg Hohensohn
in .rockbox to use this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-01-05Moved the low-level playback functionality into a new, separate module ↵Jörg Hohensohn
"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
2003-12-15kill an "unused variable" compiler warningDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4153 a1c6a512-1295-4272-9138-f99709370657