summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-17Fix panic after usb extraction if lastfm logging is enabled.Thomas Martitz
Previously the scrobbler was shutdown, probably to force a log flush, and the cache was re-allocated afterwards. Now don't shut down or re-allocate, but instead rely on the ata idle callback which is called called on usb insertion to do the log flush. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30325 a1c6a512-1295-4272-9138-f99709370657
2011-08-16Add Nick Peskett to CREDITSThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30324 a1c6a512-1295-4272-9138-f99709370657
2011-08-16perl magic: Use if/elsif/else instead of given/when (FS #12188)Thomas Jarosch
Unbreaks the maemo build. Patch by Nick Peskett with a small comment added as suggested by Dominik Riebeling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30323 a1c6a512-1295-4272-9138-f99709370657
2011-08-16Removed attribution, at author's request.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30322 a1c6a512-1295-4272-9138-f99709370657
2011-08-16Dircache: Fix memory leak (and recently panic).Thomas Martitz
If the dircache was interrupted during generation (e.g. through USB insertion), then the allocated buffer was leaked and a new one was allocated for the second cache generation. This causes a panic since r30308 since playback holds the control over the audiobuffer at that time. The fix is to simply check allocated_size instead of dircache_size which is reset to 0 upon cancellation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30321 a1c6a512-1295-4272-9138-f99709370657
2011-08-16Update American English languageMichael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30320 a1c6a512-1295-4272-9138-f99709370657
2011-08-15Save some RAM in a libgme emulator used for VGM codec. LFO_ENV_TAB[] and ↵Andree Buschmann
LFO_FREQ_TAB[] are obselete. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30319 a1c6a512-1295-4272-9138-f99709370657
2011-08-15Dircache: Fix bug introduced in r30308.Thomas Martitz
dircache_root wasn't initialized at all and the giving allocated_size passed to buffer_release_buffer() didn't account for alignment padding. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30318 a1c6a512-1295-4272-9138-f99709370657
2011-08-15Add a 100ms delay before calling disk_mount_all(). Some players (especially ↵Frank Gevaerts
some gigabeat Fs) seem to need a delay after disabling USB if we want disk access to work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30316 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Remove use of which.py module.Dominik Riebeling
Implement simple which functionality. This has less features than which.py but is sufficient, and removing an external dependency is always good. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30315 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Fix tempbuf assignment in tagcache and bump plugin API/ABI for r30308.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30314 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Remove further float operations from emu2413 in libgme to speed up synthesis.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30313 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Add change that got lost somehow in r30308.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30312 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Fix remaining problems.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30311 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Fix errors and warnings.Thomas Martitz
The buffer_offset paramter of audio_init_recording() is removed as it was unused in both implementations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30310 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Fix typo in and clarify comment.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30309 a1c6a512-1295-4272-9138-f99709370657
2011-08-14GSoC/Buflib: Replace all direct accesses to audiobuf with buffer API functions.Thomas Martitz
Namely, introduce buffer_get_buffer() and buffer_release_buffer(). buffer_get_buffer() aquires all available and grabs a lock, attempting to call buffer_alloc() or buffer_get_buffer() while this lock is locked will cause a panicf() (doesn't actually happen, but is for debugging purpose). buffer_release_buffer() unlocks that lock and can additionally increment the audiobuf buffer to make an allocation. Pass 0 to only unlock if buffer was used temporarily only. buffer_available() is a replacement function to query audiobuflen, i.e. what's left in the buffer. Buffer init is moved up in the init chain and handles ipodvideo64mb internally. Further changes happened to mp3data.c and talk.c as to not call the above API functions, but get the buffer from callers. The caller is the audio system which has the buffer lock while mp3data.c and talk mess with the buffer. mpeg.c now implements some buffer related functions of playback.h, especially audio_get_buffer(), allowing to reduce #ifdef hell a tiny bit. audiobuf and audiobufend are local to buffer.c now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30308 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Fix last charcell warningFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30307 a1c6a512-1295-4272-9138-f99709370657
2011-08-14need... sleep... try again to fix redJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30306 a1c6a512-1295-4272-9138-f99709370657
2011-08-14fix charcell again.... wouldnt it be nice to remove charcell support all ↵Jonathan Gordon
together? :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30305 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Android: Minor changes in ldebugf.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30304 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Fix player errorsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30303 a1c6a512-1295-4272-9138-f99709370657
2011-08-14New skin tags: %Vs() to set the text style and %Vg() to get the viewports ↵Jonathan Gordon
gradient colours %Vs(mode[, param]) : mode can be "invert", "color" (where param is the colour to use", "clear" to disable the current style, "gradient" where param is the number of lines the gradient should draw over. %Vg(start colour, end colour, [text colour]), if this tag isnt used the list selection colours from the settings will set the gradient colours git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30302 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Remove a couple of duplicate #includesBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30301 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Remove hosted_get_volume(), as event data is available in button_get_data().Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30300 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Android: Undo r30293 partly as it prevents installation.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30299 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Fix mistaken changes in r30219Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30298 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Extension entries need an extra nul byte.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30297 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Redo 30225 differently to not break the audio formats order for skins.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30296 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Manual: try to make it clearer that it is NOT recommended to put music in ↵Alex Parker
/.rockbox git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30294 a1c6a512-1295-4272-9138-f99709370657
2011-08-14Android: Fix a few java warnings. Upgrade ndk platform to 2.0 (don't support ↵Thomas Martitz
1.6 anymore). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30293 a1c6a512-1295-4272-9138-f99709370657
2011-08-13Properly export sleep_timer_call from main_menu.c in exported_menus.hMichael Hohmuth
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30292 a1c6a512-1295-4272-9138-f99709370657
2011-08-13configure: don't use sed for autoconf.hRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30291 a1c6a512-1295-4272-9138-f99709370657
2011-08-13typoRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30290 a1c6a512-1295-4272-9138-f99709370657
2011-08-13configure: avoid double escaping of $ (single quote + backslash)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30289 a1c6a512-1295-4272-9138-f99709370657
2011-08-13configure: remove redundant ENC_CMDRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30288 a1c6a512-1295-4272-9138-f99709370657
2011-08-13typoRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30287 a1c6a512-1295-4272-9138-f99709370657
2011-08-13configure: don't use sed to generate the MakefileRafaël Carré
remove a few obsolete options git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30286 a1c6a512-1295-4272-9138-f99709370657
2011-08-13remove obsolete commentRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30285 a1c6a512-1295-4272-9138-f99709370657
2011-08-13Remove all IRAM attributes from libGME to be able to restart the IRAM ↵Andree Buschmann
optimization on a clean code base. As first step move the sample buffers to IRAM which results in a 1-5% speedup for all codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30284 a1c6a512-1295-4272-9138-f99709370657
2011-08-126th part of FS#12176. Reduce memory consumption of libgme emulators to allow ↵Andree Buschmann
enabling of NSF and SGC codecs for low memory targets. The main lookup table only requires byte precision and can be used by 2413 and 8950 emulators. Update the manual accordingly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30283 a1c6a512-1295-4272-9138-f99709370657
2011-08-12Remove unused sources from libgme.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30282 a1c6a512-1295-4272-9138-f99709370657
2011-08-115th part of FS#12176. Further fixed point migration. Only two emulators ↵Andree Buschmann
(ym2413, ym2612) still use floating point. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30281 a1c6a512-1295-4272-9138-f99709370657
2011-08-11libgme: make local functions static where possibleBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30280 a1c6a512-1295-4272-9138-f99709370657
2011-08-11Reduce gain of VGM codec to avoid clipping.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30279 a1c6a512-1295-4272-9138-f99709370657
2011-08-114th part of FS#12176. Volume settings migrated to fixed point for libgme.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30278 a1c6a512-1295-4272-9138-f99709370657
2011-08-103rd part of FS#12176. Gain setting migrated to fixed point for libgme.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30277 a1c6a512-1295-4272-9138-f99709370657
2011-08-09Update spellcheck script.Dominik Riebeling
- Fix wrong argument list for screenshot macro - Add some more macros to the ignore list. - Ignore tex files in platforms/ - Add a user wordlist with common Rockbox terms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30276 a1c6a512-1295-4272-9138-f99709370657
2011-08-09Rockbox Utility: use libusb-1.0 by default.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30275 a1c6a512-1295-4272-9138-f99709370657
2011-08-092nd part of FS#12176. Tempo setting migrated to fixed point for libgme.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30274 a1c6a512-1295-4272-9138-f99709370657