summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Declare several libgme functions static.Andree Buschmann2011-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30394 a1c6a512-1295-4272-9138-f99709370657
* Dircache: Allow dircache to be enabled without reboot.Thomas Martitz2011-08-30
| | | | | | | Also add two dircache function, one of which does what dircache_disable() did previously as this now also frees the dircache buffer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30393 a1c6a512-1295-4272-9138-f99709370657
* Fix red.Andree Buschmann2011-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30392 a1c6a512-1295-4272-9138-f99709370657
* Submit parts of FS#12189 regarding codec API. Replaces access to global ↵Andree Buschmann2011-08-30
| | | | | | settings with a dedicated function to determine if the current track shall be looped. Used by several synthesizer codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30391 a1c6a512-1295-4272-9138-f99709370657
* sansa clipzip: implement backlightBertrik Sikken2011-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30390 a1c6a512-1295-4272-9138-f99709370657
* sansa clipzip: fix bounds check/correction in lcd_update_rectBertrik Sikken2011-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30389 a1c6a512-1295-4272-9138-f99709370657
* Bump plugin api version.Thomas Martitz2011-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30388 a1c6a512-1295-4272-9138-f99709370657
* Remove buflib from the pluginlib and use the core one.Thomas Martitz2011-08-30
| | | | | | buflib_get_data() isn't inlined for plugins anymore, but can be if really needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30387 a1c6a512-1295-4272-9138-f99709370657
* Clean up and simplify the voice thread code.Michael Sevakis2011-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30386 a1c6a512-1295-4272-9138-f99709370657
* Fix last yellows.Thomas Martitz2011-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30385 a1c6a512-1295-4272-9138-f99709370657
* Fix h100 red and other warnings.Thomas Martitz2011-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30384 a1c6a512-1295-4272-9138-f99709370657
* Fix hwcodec red.Thomas Martitz2011-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30383 a1c6a512-1295-4272-9138-f99709370657
* Bump plugin API.Thomas Martitz2011-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30382 a1c6a512-1295-4272-9138-f99709370657
* GSoC/Buflib: Enable compaction in buflib.Thomas Martitz2011-08-30
| | | | | | | | | | | | | | | | | | | This enables the ability to allocate (and free) memory dynamically without fragmentation, through compaction. This means allocations can move and fragmentation be reduced. Most changes are preparing Rockbox for this, which many times means adding a move callback which can temporarily disable movement when the corresponding code is in a critical section. For now, the audio buffer allocation has a central role, because it's the one having allocated most. This buffer is able to shrink itself, for which it needs to stop playback for a very short moment. For this, audio_buffer_available() returns the size of the audio buffer which can possibly be used by other allocations because the audio buffer can shrink. lastfm scrobbling and timestretch can now be toggled at runtime without requiring a reboot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30381 a1c6a512-1295-4272-9138-f99709370657
* GSoC/Buflib: Add buflib memory alocator to the core.Thomas Martitz2011-08-30
| | | | | | | | | | | | | | | | | The buflib memory allocator is handle based and can free and compact, move or resize memory on demand. This allows to effeciently allocate memory dynamically without an MMU, by avoiding fragmentation through memory compaction. This patch adds the buflib library to the core, along with convinience wrappers to omit the context parameter. Compaction is not yet enabled, but will be in a later patch. Therefore, this acts as a replacement for buffer_alloc/buffer_get_buffer() with the benifit of a debug menu. See buflib.h for some API documentation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30380 a1c6a512-1295-4272-9138-f99709370657
* Introduce CPU dependent IRAM configuration for libgme. Use ICODE_ATTR for an ↵Andree Buschmann2011-08-30
| | | | | | emu2413-function to speed up PP5022 by up to 6%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30379 a1c6a512-1295-4272-9138-f99709370657
* Make tdspeed.c a bit nicer to read. No functional changes.Michael Sevakis2011-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30378 a1c6a512-1295-4272-9138-f99709370657
* sansa clipzip: correct GPIO used for backlightBertrik Sikken2011-08-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30377 a1c6a512-1295-4272-9138-f99709370657
* sansa clipzip: implement more functions in the lcd driverBertrik Sikken2011-08-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30376 a1c6a512-1295-4272-9138-f99709370657
* Final commit to get test_codec working properly for both freq-scaling and ↵Andree Buschmann2011-08-29
| | | | | | non-freq-scaling targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30375 a1c6a512-1295-4272-9138-f99709370657
* Fix logic of test_codec for targets with HAVE_ADJUSTABLE_CPU_FREQ.Andree Buschmann2011-08-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30374 a1c6a512-1295-4272-9138-f99709370657
* codec_main() prototype inside codec_crt0.c is no longer needed since it's in ↵Michael Sevakis2011-08-28
| | | | | | codecs.h now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30373 a1c6a512-1295-4272-9138-f99709370657
* libtremor: comment out some more unused functions, make a function param ↵Nils Wallménius2011-08-28
| | | | | | unsigned to simplify generated code, gives a small speedup on cf. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30372 a1c6a512-1295-4272-9138-f99709370657
* libtremor: remove some inline cf asm that is no longer needed with the new ↵Nils Wallménius2011-08-28
| | | | | | toolchain, no speed diff. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30371 a1c6a512-1295-4272-9138-f99709370657
* libtremor: comment out some unused functions and mark some file local ↵Nils Wallménius2011-08-28
| | | | | | functions static, saves a few hundred bytes and might give a tiny speedup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30370 a1c6a512-1295-4272-9138-f99709370657
* Restore functionality of pcmbuf_is_lowdata. It fell out of sync since the ↵Michael Sevakis2011-08-28
| | | | | | mixer code and then an incorrect change unintentionally remained in r30366. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30369 a1c6a512-1295-4272-9138-f99709370657
* Remove obsolete 'ci->set_elapsed()' from mpc.Andree Buschmann2011-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30368 a1c6a512-1295-4272-9138-f99709370657
* Remove INT_MAX from pcmbuf.c. Win32 sim compained about it and it isn't ↵Michael Sevakis2011-08-28
| | | | | | specifically important enough for another #include - it just needs a great enough value to cover any remaining data. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30367 a1c6a512-1295-4272-9138-f99709370657
* Commit work started in FS#12153 to put timing/position information in PCMMichael Sevakis2011-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | buffer chunks. * Samples and position indication is closely associated with audio data instead of compensating by a latency constant. Alleviates problems with using the elapsed as a track indicator where it could be off by several steps. * Timing is accurate throughout track even if resampling for pitch shift, whereas before it updated during transition latency at the normal 1:1 rate. * Simpler PCM buffer with a constant chunk size, no linked lists. In converting crossfade, a minor change was made to not change the WPS until the fade-in of the incoming track, whereas before it would change upon the start of the fade-out of the outgoing track possibly having the WPS change with far too much lead time. Codec changes are to set elapsed times *before* writing next PCM frame because time and position data last set are saved in the next committed PCM chunk. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30366 a1c6a512-1295-4272-9138-f99709370657
* Initial framework for the Sandisk Sansa Clip ZipBertrik Sikken2011-08-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30365 a1c6a512-1295-4272-9138-f99709370657
* FS#12163 by Sean BartellNils Wallménius2011-08-27
| | | | | | | | | | get_long_be shifts an unsigned char left--which results in a signed int. It then implicitly casts to unsigned long, which sign-extends the int, leaving unwanted 1's in the upper bits. This affects AIFF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30364 a1c6a512-1295-4272-9138-f99709370657
* FS#12207 - Fast second july update of Czech language by Marek SalabaBertrik Sikken2011-08-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30363 a1c6a512-1295-4272-9138-f99709370657
* Change the cuesheet fix from r30359 to have a minor binsize increase on SH1.Andree Buschmann2011-08-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30362 a1c6a512-1295-4272-9138-f99709370657
* Utterly pointless fix for an unused Doom module (but while the code is in ↵Steve Bavin2011-08-26
| | | | | | our source it ought not to have buffer overrides in, right?). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30361 a1c6a512-1295-4272-9138-f99709370657
* Minor libwmavoice fixes; initialise the entire VBM tree and remove file ↵Steve Bavin2011-08-26
| | | | | | handle leak from test util. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30360 a1c6a512-1295-4272-9138-f99709370657
* Avoid overflow in cuesheet marker positioning. Fixes FS#12246. Thanks to ↵Andree Buschmann2011-08-26
| | | | | | Nick Peskett. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30359 a1c6a512-1295-4272-9138-f99709370657
* Fix marginal buffer overflow in chessbox.Steve Bavin2011-08-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30358 a1c6a512-1295-4272-9138-f99709370657
* Remove a slightly silly null dereference. (a.k.a. I'm playing with cppcheck ↵Steve Bavin2011-08-26
| | | | | | too.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30357 a1c6a512-1295-4272-9138-f99709370657
* Fix an issue in libfaad found by static code analysis. Two arrays within the ↵Andree Buschmann2011-08-26
| | | | | | drc_info structure require a size of 64 due to the related implementation. This code section would not have been called as the decoder checks the number of channels and rejects decoding for files using more than MAX_CHANNELS (2). Closes FS#12245. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30356 a1c6a512-1295-4272-9138-f99709370657
* Add the codec_main declaration to apps/codecs.hBertrik Sikken2011-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30355 a1c6a512-1295-4272-9138-f99709370657
* Also fix uninitialized variables in xlcd_scroll_up()/xlcd_scroll_down()Thomas Jarosch2011-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30354 a1c6a512-1295-4272-9138-f99709370657
* Fix free on wrong variableThomas Jarosch2011-08-25
| | | | | | Credit goes to "cppcheck" again ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30353 a1c6a512-1295-4272-9138-f99709370657
* Don't close file descriptor twiceThomas Jarosch2011-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30352 a1c6a512-1295-4272-9138-f99709370657
* Fix off-by-one memory corruption in ipodpatcher.Thomas Jarosch2011-08-25
| | | | | | | | | strcpy() will terminate the string with zero, the boot sector/buffer has only space for eight characters. Credit goes to "cppcheck". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30351 a1c6a512-1295-4272-9138-f99709370657
* Fix file descriptor leak on errorThomas Jarosch2011-08-25
| | | | | | Credit goes to "cppcheck" again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30350 a1c6a512-1295-4272-9138-f99709370657
* Fix file descriptor leak on errorThomas Jarosch2011-08-25
| | | | | | Credit goes to "cppcheck". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30349 a1c6a512-1295-4272-9138-f99709370657
* Fix use of uninitialized memory in xlcd_scroll_left() / xlcd_scroll_right() ↵Thomas Jarosch2011-08-25
| | | | | | | | | | | in special cases Only valid for: LCD_PIXELFORMAT == HORIZONTAL_PACKING && LCD_DEPTH != 2 Found by "cppcheck". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30348 a1c6a512-1295-4272-9138-f99709370657
* Clean up redundant assignmentThomas Jarosch2011-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30347 a1c6a512-1295-4272-9138-f99709370657
* Remove now unneeded variableThomas Jarosch2011-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30346 a1c6a512-1295-4272-9138-f99709370657
* Fix off-by-one memory corruption in resistor plugin.Thomas Jarosch2011-08-25
| | | | | | | | | | | | | | | I'm wondering if that also was the cause for the lines exactly next to it: --------------------------------- /* This cleans out the mysterious garbage that appears */ rb->lcd_clear_display(); --------------------------------- -> Atleast I see no garbage in the sim. Credit for this bug goes to "cppcheck". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30345 a1c6a512-1295-4272-9138-f99709370657