summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox
AgeCommit message (Collapse)AuthorFilesLines
2020-10-13Silence warnings that happen on newer GCCsSolomon Peachy1-0/+3
(code is presumably correct) Change-Id: I3ee11b6a10dc87eb6f6178d6182397f0c7f686d5
2020-05-18pdbox/doom: Use -Wno-stringop-truncation with GCC >=8Solomon Peachy1-2/+8
This should shut up a lot of the sim build failures Change-Id: Ieaa387585cb8ca0f8b2faff24c08aad9451b28ce
2018-12-08Pdbox hide cast-function-type fix overlapping memcpyWilliam Wilgus2-3/+3
dsoundfile.c used memcpy for overlapping memory regions switched to memmove Suppress the 160+ warnings for cast-function-type This plugin would require major work to fix these warnings Change-Id: I309d914839c1e70126a05b387863fd21613497a9
2016-10-12pdbox: fix bug shown by new gcc warningFrank Gevaerts1-0/+2
Change-Id: Ife308a3090f9bc62f2e98d2d979fdf393c22054d
2015-01-05Make thirty functions static to reduce binary sizeThomas Jarosch1-1/+1
If any of those functions should be (unused) API functions, they can easily be turned back once really needed. Detected using a new cppcheck check that uses the internal symbol database to catch functions that are only used in the current file. Change-Id: Ic2b1e5b8020b76397f11cefc4e205f3b7ac1f184
2013-01-24Deprecate the EXTRA_LIBS variable.Björn Stenberg1-1/+1
Instead specify explicit library dependencies for codecs and plugins.
2012-10-07pdbox: Always use fixedpoint version of math functionsMarcin Bukat12-12/+14
Change-Id: Ie5671d8f425804c9cf3265bad86eadadaf73ea1c
2012-10-07pdbox: fix makefileMarcin Bukat1-9/+2
Change-Id: I52260e4b17348c039f958ff9fa661367d3a31eac
2012-04-04Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz1-5/+1
handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
2012-03-28tlsf: move to /lib (it's also used by plugins).Thomas Martitz1-1/+1
Change-Id: I5e37b28c1ce4608d60b036343f280af3311ad490
2012-03-26build system: unify/simplify library handling a bit.Thomas Martitz1-1/+1
libs in $ROOT/lib now add to $(CORE_LIBS) and $(EXTRA_LIBS) and are automatically linked by the core and codecs/plugins respectively. Change-Id: Iff482c792a8c8142718f6a16a450c6e2f1497c9a
2012-03-03Revise the PCM callback system after adding multichannel audio.Michael Sevakis1-6/+4
Additional status callback is added to pcm_play/rec_data instead of using a special function to set it. Status includes DMA error reporting to the status callback. Playback and recording callback become more alike except playback uses "const void **addr" (because the data should not be altered) and recording uses "void **addr". "const" is put in place throughout where appropriate. Most changes are fairly trivial. One that should be checked in particular because it isn't so much is telechips, if anyone cares to bother. PP5002 is not so trivial either but that tested as working. Change-Id: I4928d69b3b3be7fb93e259f81635232df9bd1df2 Reviewed-on: http://gerrit.rockbox.org/166 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
2012-01-22Fix wrong pointer arithmetic in the PDbox aiff header writing codeFrank Gevaerts1-1/+1
The SSND bit is intended to be right after the t_aiff-sized header. Someone got cast vs + precedence rules wrong here. Change-Id: Iccec75043ed5e35724331f9833b24f7e3b90c447
2011-12-24Initial commit of the Samsung YP-R0 port.Thomas Martitz1-2/+17
This port is a hybrid native/RaaA port. It runs on a embedded linux system, but is the only application. It therefore can implement lots of stuff that native targets also implement, while leveraging the underlying linux kernel. The port is quite advanced. User interface, audio playback, plugins work mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page). Included in utils/ypr0tools are scripts and programs required to generate a patched firmware. The patched firmware has the rootfs modified to load Rockbox. It includes a early/safe USB mode. This port needs a new toolchain, one that includes glibc headers and libraries. rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may also work. Most of the initial effort is done by Lorenzo Miori and others (on ABI), including reverse engineering and patching of the original firmware, initial drivers, and more. Big thanks to you. Flyspray: FS#12348 Author: Lorenzo Miori, myself Merry christmas to ypr0 owners! :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-11-08Committing fix for FS#12249. Patch by Buschel. Further fixes for AIFF loader ↵Wincent Balin1-11/+13
in PDBox in the future. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30944 a1c6a512-1295-4272-9138-f99709370657
2011-05-13Fix last known 'set but not used' warning by GCC 4.6.1.Andree Buschmann1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29875 a1c6a512-1295-4272-9138-f99709370657
2011-05-13Fix even more 'set but not used' warnings and a regression.Andree Buschmann3-9/+32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29873 a1c6a512-1295-4272-9138-f99709370657
2011-05-13Fix further 'set but not used' warnings.Andree Buschmann1-10/+39
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29872 a1c6a512-1295-4272-9138-f99709370657
2011-05-13Fix several 'variable set but not used' warnings reported by GCC 6.4.1.Andree Buschmann13-42/+51
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29871 a1c6a512-1295-4272-9138-f99709370657
2011-01-24* Rename backlight_force_on to backlight_ignore_timeout to make it clear ↵Teruaki Kawashima1-1/+1
what the function does. * Add backlight_force_on() which forces to turn on backlight even when the setting is set to Off. use this in lamp. No functional change except lamp. See aslo FS#9883. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29128 a1c6a512-1295-4272-9138-f99709370657
2010-11-07set mode argument for open() where O_CREAT flag is/can be set.Teruaki Kawashima2-5/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28527 a1c6a512-1295-4272-9138-f99709370657
2010-08-30Plugins: modify IRAM copying codeRafaël Carré1-4/+0
Move to plugin_crt0.c, plugins don't need PLUGIN_IRAM_* macros anymore IRAM is no longered zeroed before copying (as it is at the same address than BSS) -> Fix FS#11581 Use cpucache_invalidate() (and not cpucache_flush), needed for self-modifying code on cached IRAM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27948 a1c6a512-1295-4272-9138-f99709370657
2010-08-24Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz1-1/+1
It handles exit() properly, calling the handler also when the plugin returns normally (also make exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657
2010-08-23Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz1-1/+1
Too much errors and no time to fix them now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
2010-08-23Introduce plugin_crt0.c that every plugin links.Thomas Martitz1-1/+1
It handles exit() properly, calling the handler also when the plugin returns normally (also it makes exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27862 a1c6a512-1295-4272-9138-f99709370657
2010-07-23pdbox: disable strict aliasing optimizations since pdbox breaks the strict ↵Nils Wallménius1-1/+1
aliasing rules which causes warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27530 a1c6a512-1295-4272-9138-f99709370657
2010-07-11pdbox: avoid making own DEBUG clash with rockbox defineRafaël Carré1-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27388 a1c6a512-1295-4272-9138-f99709370657
2010-07-10Rename/change SIMVER to APP_TYPE in the Makefiles.Thomas Martitz1-2/+2
SIMVER was really only used to detect a simulator build. With APP_TYPE you can now differentiate between simulator, application, checkwps and database builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27372 a1c6a512-1295-4272-9138-f99709370657
2010-07-10pdbox: Now backlight does not fade out -- making music requires attention.Wincent Balin1-0/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27368 a1c6a512-1295-4272-9138-f99709370657
2010-07-05pdbox: Optimizations in the audio output code.Wincent Balin1-1/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27288 a1c6a512-1295-4272-9138-f99709370657
2010-07-05pdbox: Added Sansa e200 to supported devices.Wincent Balin1-0/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27287 a1c6a512-1295-4272-9138-f99709370657
2010-07-05pdbox: Added different sampling rates based on hardware capabilities.Wincent Balin1-4/+11
Also a minor code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27286 a1c6a512-1295-4272-9138-f99709370657
2010-07-03Add -lm to pdbox sim buildFrank Gevaerts1-0/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27261 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Fix include fileFrank Gevaerts1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27017 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Remove plugin-specific defines from the pdbox makefile, and add them to ↵Frank Gevaerts5-2/+12
m_pd.h, which is the global pdbox header. This makes sure that the defines are set during depency generation so dependencies are correct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27016 a1c6a512-1295-4272-9138-f99709370657
2010-06-05pdbox: Moved all global variables in pdbox.c to IRAM.Wincent Balin1-6/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26581 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: Reverted premature commit of Coldfire optimization.Wincent Balin1-17/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26560 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: Fixing yellows.Wincent Balin1-3/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26552 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: Corrected inclusion of m_fixed.h .Wincent Balin39-40/+40
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26551 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: Added Coldfire multiplication optimization by Buschel.Wincent Balin1-3/+22
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26550 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: Reduced (visible) precision of numbers shown in the GUI.Wincent Balin1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26549 a1c6a512-1295-4272-9138-f99709370657
2010-06-04pdbox: The values on of widgets are reset on start now.Wincent Balin1-0/+21
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26548 a1c6a512-1295-4272-9138-f99709370657
2010-06-04Ensure CPU is defined.Andree Buschmann1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26546 a1c6a512-1295-4272-9138-f99709370657
2010-06-03pdbox: Applied several changes by Buschel. Reintroduced compilation for iPods.Wincent Balin4-2/+1067
Changes by Buschel: * Reduced footprint by making cosine table of size 1^13 instead of 1^15 * Corrected interpolation in the cos~ object * Optimized multiplication on ARM platforms git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26534 a1c6a512-1295-4272-9138-f99709370657
2010-06-03pdbox: fix build on ARM with eabiRafaël Carré1-2/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26514 a1c6a512-1295-4272-9138-f99709370657
2010-06-03pdbox: Added keypad for iPod 1G-4G. Reordered SOURCES alphabetically.Wincent Balin2-28/+40
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26500 a1c6a512-1295-4272-9138-f99709370657
2010-06-03pdbox: Source cleanup. Removed unneeded files.Wincent Balin44-19949/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26497 a1c6a512-1295-4272-9138-f99709370657
2010-06-02pdbox: Syntax cleanup for the cosine table.Wincent Balin2-5/+4100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26496 a1c6a512-1295-4272-9138-f99709370657
2010-06-02pdbox: add fuze keymapRafaël Carré1-0/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26489 a1c6a512-1295-4272-9138-f99709370657
2010-06-01Added myself and Pure Data team to credits.Wincent Balin3-3/+3
Updated copyright years where needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26457 a1c6a512-1295-4272-9138-f99709370657