summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2007-02-17Keep delay loop from being optimized away.Magnus Holmgren1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12367 a1c6a512-1295-4272-9138-f99709370657
2007-02-17set I2C type properlyDaniel Stenberg3-0/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12363 a1c6a512-1295-4272-9138-f99709370657
2007-02-17build with -Wundef to make sure we have spelled the defines right in #if linesDaniel Stenberg1-1/+1
and have the proper includes included etc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
2007-02-17another attemptDaniel Stenberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12359 a1c6a512-1295-4272-9138-f99709370657
2007-02-17repair the conditionDaniel Stenberg1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12358 a1c6a512-1295-4272-9138-f99709370657
2007-02-17avoid using #if on undefined symbols, in preparation for -WundefDaniel Stenberg4-3/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12357 a1c6a512-1295-4272-9138-f99709370657
2007-02-17Correct spelling of CONFIG_CODEC, fixes FS#6668Linus Nielsen Feltzing1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12356 a1c6a512-1295-4272-9138-f99709370657
2007-02-17ARM targets: Making a few functions non-static allows us to get rid of ↵Jens Arnold3-18/+28
-ffunction-sections, significantly decreasing binary size and making things run a bit faster because static functions are no longer long_call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12349 a1c6a512-1295-4272-9138-f99709370657
2007-02-17FS#6651 - Improved id3 comment extraction.Miika Pekkarinen2-19/+34
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12344 a1c6a512-1295-4272-9138-f99709370657
2007-02-17Move dr_controller_setup() to usb_init_device() and add a call to ↵Dave Chapman1-1/+6
dr_controller_stop() if we detect USB disconnection. This seems to improve reliability when connecting to Mac OS X - Rockbox previously killed its USB stack since the introduction of the new USB detection code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12342 a1c6a512-1295-4272-9138-f99709370657
2007-02-16Fix 3g buildsBarry Wardell1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12341 a1c6a512-1295-4272-9138-f99709370657
2007-02-16No functional changes, just reorganising code:Barry Wardell5-200/+217
1) Move ARC OTG USB (used in PP502x) driver code into it's own file, drivers/arcotg_udc.c. Hopefully in the future we will be able to adapt more of the Linux driver and add it to this file. 2) Rename mx31.h to arcotg_udc.h to reflect the file the code came from. It's also a more accurate name for the USB controller. 3) Get rid of one more inl()/outl() in usb-pp.c and use the relevant #define instead. 4) Add dr_controller_stop(). Not used yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12340 a1c6a512-1295-4272-9138-f99709370657
2007-02-16Fix errors I hope.Michael Sevakis1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12333 a1c6a512-1295-4272-9138-f99709370657
2007-02-16SWCODEC Recording: Improve buffer handling by 1) Lowering watermark for ↵Michael Sevakis1-246/+405
flushing 2) Flushing down to a low watermark instead of a fixed number of chunks 3) Allowing in-process automatic flushes to be interrupted so file splits and stops can be marked in a timely manner (especially important when approaching 2GB limit) 4) Flush small amounts if buffer is filled during a split to protect integrity of streams 5) Boost both pcmrec and codec threads then thread priority boost is needed so that encoder doesn't fail to run and keep up with incoming data git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12332 a1c6a512-1295-4272-9138-f99709370657
2007-02-15Shave a few bytes off the binary size, especially on hwcodec targetsLinus Nielsen Feltzing3-33/+51
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12323 a1c6a512-1295-4272-9138-f99709370657
2007-02-14Start using the new endian conversion system outside tagcache also to ↵Miika Pekkarinen1-2/+10
simplify code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12309 a1c6a512-1295-4272-9138-f99709370657
2007-02-14Cuesheet support by Jonathan Gordon and me (FS #6460).Nicolas Pennequin1-0/+3
Everytime an audio file is loaded, a cue file with the same name is searched for. A setting allows to disable this (default is off). Cuesheet files can also be viewed in the file browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12304 a1c6a512-1295-4272-9138-f99709370657
2007-02-14Use the correct swap functions for live conversion, and fix 64 bit sims.Jens Arnold1-5/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12302 a1c6a512-1295-4272-9138-f99709370657
2007-02-14Adding SPC codec (FS #6542)Adam Gashlin2-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12298 a1c6a512-1295-4272-9138-f99709370657
2007-02-13Make database endianess independent.Miika Pekkarinen3-0/+211
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12297 a1c6a512-1295-4272-9138-f99709370657
2007-02-12Gigabeat Cradle USB SupportKarl Kurbjun1-11/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12284 a1c6a512-1295-4272-9138-f99709370657
2007-02-11FS #6646 from Ben Keroack - move the recently added AFMT_SPEEX to the end of ↵Dave Chapman1-1/+4
the enum. The values here are used for the %fc WPS tag, so new codecs MUST be added at the end. Also add a comment to that effect. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12275 a1c6a512-1295-4272-9138-f99709370657
2007-02-10FS#6638 - Album artist and comment patch for WPS and tagcache. ExportMiika Pekkarinen2-0/+17
your database before updating because initialization is needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12255 a1c6a512-1295-4272-9138-f99709370657
2007-02-10Minor whitespace and formatting fixes.Dan Everton1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12253 a1c6a512-1295-4272-9138-f99709370657
2007-02-10SWCODEC Encoders: Better declarations of chunk flags. Mark constants as ↵Michael Sevakis1-8/+8
unsigned long to match structure variable type. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12252 a1c6a512-1295-4272-9138-f99709370657
2007-02-09Remove accidental inclusion of album art patch fragment.Dan Everton1-11/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12247 a1c6a512-1295-4272-9138-f99709370657
2007-02-09Add Speex playback support. Patch from FS #5607 thanks to Frederik Vestre.Dan Everton2-1/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12241 a1c6a512-1295-4272-9138-f99709370657
2007-02-08Fix the delay loops. Without scaling the CPU is always at 300MHz.Marcoen Hirschberg2-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12229 a1c6a512-1295-4272-9138-f99709370657
2007-02-08disable CPU scaling again because it actually made the power consumption worse.Marcoen Hirschberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12228 a1c6a512-1295-4272-9138-f99709370657
2007-02-07Change the radio screen and recording screen to use the global_status ↵Michael Sevakis1-5/+0
structure for state. I guess global_status had been added already and I missed it. :D git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
2007-02-07Correct a deceptive comment. Clarify that this config file is only for the ↵Tom Ross1-1/+1
4g grayscale iPod. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12220 a1c6a512-1295-4272-9138-f99709370657
2007-02-05Optimise EQ coef calculation routines for both speed and size. Move now ↵Thom Johansen1-2/+2
unneeded fsqrt function to plugin fixed point library in case it'll be needed. Move all fixed point helper macros to dsp.h. Added FRACMUL_SHL macro to facilitate high-precision shifting of 64 bit multiplies and remove rounding from macsr in main thread to make this work as intended. Tested quite thorougly, but as always, be careful with your ears. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12203 a1c6a512-1295-4272-9138-f99709370657
2007-02-05New PLL calculations to make sure that PLLDIV != 0. This seems to solve the ↵Linus Nielsen Feltzing1-12/+13
problem with the troublesome H140 batch from OutletMP3. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12201 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Fix USB detection on ipods and other portalplayer targets - Rockbox now ↵Dave Chapman14-118/+504
correctly distinguishes between a USB connection to a computer and a connection to a USB AC charger. Based on the experimental USB code in FS #6494 by Barry Wardell. Closes FS #4724. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12198 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Fix setting time on Sansa used to set the day to one day later than it Barry Wardell1-1/+1
should. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12196 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Enable FAT16 support for Sansa E200Daniel Ankers1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12195 a1c6a512-1295-4272-9138-f99709370657
2007-02-04Work around a bug in the Sansa flash driverDaniel Ankers1-21/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12187 a1c6a512-1295-4272-9138-f99709370657
2007-02-03Backlight support for Sansa, including brightness. Thanks to Rene Barry Wardell3-0/+23
Peinthor and FS#6608. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12186 a1c6a512-1295-4272-9138-f99709370657
2007-02-03RTC support for Sansa.Barry Wardell4-1/+169
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12185 a1c6a512-1295-4272-9138-f99709370657
2007-02-03Removed unused 'mode' parameter from mkdir() for consistency with creat().Jens Arnold2-5/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
2007-02-02Corrected the comments regarding USB chargingLinus Nielsen Feltzing1-2/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12181 a1c6a512-1295-4272-9138-f99709370657
2007-02-01Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ↵Jens Arnold3-6/+5
ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01Increase disk thread stack on the Sansa in line with the changes in r12093. ↵Daniel Ankers1-1/+1
Fixes the recent Sansa crashes. Thanks to Rene Peinthor git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12177 a1c6a512-1295-4272-9138-f99709370657
2007-02-01Fix dircache on simulatorsSteve Bavin1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12175 a1c6a512-1295-4272-9138-f99709370657
2007-02-01FS#4770 - Add USB charging for the H300 seriesSteve Bavin5-1/+77
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12169 a1c6a512-1295-4272-9138-f99709370657
2007-01-31Power off on the Sansa more in line with how the OF does it (just change the ↵Barry Wardell1-1/+4
relevant bit rather than the whole byte). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12166 a1c6a512-1295-4272-9138-f99709370657
2007-01-31Add power off for the Sansa. Thanks to Antonius Hellmann for figuring out ↵Barry Wardell1-0/+2
how using the Sansa emulator in FS #6524. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12165 a1c6a512-1295-4272-9138-f99709370657
2007-01-31Finish putting all the code and data that depends upon ↵Michael Sevakis1-9/+19
HAVE_PRIORITY_SCHEDULING into the #ifdef blocks git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12163 a1c6a512-1295-4272-9138-f99709370657
2007-01-29Reverting the FAT32 driver change - it seems to have introduced a bugLinus Nielsen Feltzing2-66/+50
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12152 a1c6a512-1295-4272-9138-f99709370657
2007-01-29Changed fat_getnext():Linus Nielsen Feltzing2-50/+66
1) Fixed a bug where really long filenames could be messed up if they spanned 3 sectors 2) Now uses 2 buffers instead of 3, without copying the buffers with memcpy() 3) Can now use aligned sector reads, first step towards iPod 5.5G 80GB git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12151 a1c6a512-1295-4272-9138-f99709370657