summaryrefslogtreecommitdiff
path: root/apps/main.c
AgeCommit message (Collapse)Author
2006-05-01Init voice before audio because audio needs to know the voice buffer size. ↵Peter D'Hoye
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-04-13Use sysfont for the "committing tagcache" message.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9650 a1c6a512-1295-4272-9138-f99709370657
2006-04-12Show progress while committing tagcache.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9637 a1c6a512-1295-4272-9138-f99709370657
2006-04-04Initial support for the advanced conditional fully configurable tagcacheMiika Pekkarinen
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-03-28Removed some debug codeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9329 a1c6a512-1295-4272-9138-f99709370657
2006-03-28Audio support for iAudio X5Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9328 a1c6a512-1295-4272-9138-f99709370657
2006-03-26Fixed the yellow builds.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9264 a1c6a512-1295-4272-9138-f99709370657
2006-03-26Initial version of tagcache! There are still some bugs in the engineMiika Pekkarinen
and much more problems with the UI. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
2006-02-24iPod: Reset the settings if the hold button is turned on before Rockbox startsDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8826 a1c6a512-1295-4272-9138-f99709370657
2006-01-27iriver: Init audio on background.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8465 a1c6a512-1295-4272-9138-f99709370657
2005-12-17Patch #1382969 by Peter D'Hoye - recording for H300Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8252 a1c6a512-1295-4272-9138-f99709370657
2005-12-07Now define SETTINGS_RESET if we have a button to reset settings duringMiika Pekkarinen
boot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8191 a1c6a512-1295-4272-9138-f99709370657
2005-12-07Oops, tagcache calls was not supposed to be in the previous commit.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8190 a1c6a512-1295-4272-9138-f99709370657
2005-12-07Holding record button immediately after rockbox bootloader, causesMiika Pekkarinen
settings to be cleared. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8189 a1c6a512-1295-4272-9138-f99709370657
2005-12-06USB support for H300Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8167 a1c6a512-1295-4272-9138-f99709370657
2005-12-04Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC ↵Dave Chapman
defines from config-*.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
2005-12-04Split the HAVE_RTC define into HAVE_RTC, HAVE_RTC_RAM and CONFIG_RTC - in ↵Dave Chapman
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-11-27I2C init for H300Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8081 a1c6a512-1295-4272-9138-f99709370657
2005-11-21Backlight handling: * Added 'Caption Backlight' and 'Backlight On When ↵Jens Arnold
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-21Fixed crash with early USB. The USB screen already uses some of the new GUI ↵Jens Arnold
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-20Applied Stephan Wezel's patch for the new wps %wd/%we tags (disable/enable ↵Kevin Ferrare
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-19User now receives a message if initial directory cache initializationMiika Pekkarinen
fails. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7988 a1c6a512-1295-4272-9138-f99709370657
2005-11-18Moved the power_init() call to main(), removed unfinished inits for the H300Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7964 a1c6a512-1295-4272-9138-f99709370657
2005-11-17Remote WPS support (and some WPS bugfixes) by Stephan WezelChristi Scarborough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7934 a1c6a512-1295-4272-9138-f99709370657
2005-11-12iRiver: Initial support for wav-recording in recording menu. Supports ↵Andy
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-08That was *not* supposed to be committed :-)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7798 a1c6a512-1295-4272-9138-f99709370657
2005-11-08Removed a redundant commentLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7797 a1c6a512-1295-4272-9138-f99709370657
2005-10-16iriver: audio_init really needs to be called after playlist and tree init; ↵Magnus Holmgren
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-07Implemented directory caching. No more waiting for disk to spin up whileMiika Pekkarinen
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-09-02Patch #1272052 by Henrik Backe - Move credits to a pluginLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
2005-08-29Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold
SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-20Initial voice ui support for software codec platforms. Added also aMiika Pekkarinen
beep when changing tracks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-07-21Crossfade (and pcm buffer size) length is now configurable.Miika Pekkarinen
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-14make pcmbuf_init() an empty macro on targets with HW codecDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7146 a1c6a512-1295-4272-9138-f99709370657
2005-07-14Call pcmbuf_init() on simulator too.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7144 a1c6a512-1295-4272-9138-f99709370657
2005-07-13Separated buffering stuff from pcm_playback to pcmbuf. Renamed someMiika Pekkarinen
function calls (audiobuffer -> pcmbuf etc.). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7131 a1c6a512-1295-4272-9138-f99709370657
2005-07-11Fixed a long-standing bug in the charging screen. The charging screen froze ↵Jens Arnold
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-09Wrong iriver model checkLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7084 a1c6a512-1295-4272-9138-f99709370657
2005-07-07Enabled scrolling on the remote LCD in the simulator. Some small shortcuts ↵Jens Arnold
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-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