summaryrefslogtreecommitdiff
path: root/lib/rbcodec/test
AgeCommit message (Collapse)Author
2012-05-07rbcodec: abstract tdspeed buffer allocationNils Wallménius
Move code dealing with rockbox specific buflib allocations into a rockbox specific file and implement buffer allocation with malloc/free for warble/stand alone lib. Based on patch by Sean Bartell. Change-Id: I8cb85dad5890fbd34c1bb26abbb89c0b0f6b55cf Reviewed-on: http://gerrit.rockbox.org/144 Tested-by: Nils Wallménius <nils@rockbox.org> Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Reviewed-by: Nils Wallménius <nils@rockbox.org>
2012-05-03rbcodec: Hooks for target specific functions in dsp_process loopMichael Sevakis
Use them to move tick counting, yielding and coldfire macsr handling code to a rockbox specific file. Change-Id: Id7417dc98c08a342eba45ba56b044a276e50564b Reviewed-on: http://gerrit.rockbox.org/229 Tested-by: Nils Wallménius <nils@rockbox.org> Reviewed-by: Nils Wallménius <nils@rockbox.org>
2012-05-03Add rbcodecplatform.h and rbcodecconfig.h.Sean Bartell
librbcodec users must provide these two files when the library is built. rbcodecconfig.h provides configuration #defines and basic types, and will be included by public librbcodec headers, so it must not conflict with the user's code. rbcodecplatform.h provides various OS functions, and will only be included by source files and private headers. This system is intended to provide maximum flexibility for use on embedded systems, where no operating system headers are included. Unix systems can just copy rbcodecconfig-example.h and rbcodecplatform-unix.h with minimal changes. Change-Id: I350a2274d173da391fd1ca00c4202e9760d91def Reviewed-on: http://gerrit.rockbox.org/143 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
2012-05-02Delete unused stub functions.Nils Wallménius
Change-Id: I886d65b60364699845475e2ea1a741aece506a8f
2012-05-01Delete autoconf.h file in the warble source, one less headache.Nils Wallménius
Change-Id: I83c1b523de453c45aa4df3340b9a1aa63bf321ed
2012-04-30Warble must have a call to dsp_init before setting options or using it.Michael Sevakis
Change-Id: If5cabba99baffe87002d07f11641175f539315a1
2012-04-29Make rbcodec/dsp includes more specific.Michael Sevakis
Change-Id: Idb6af40df26f5b8499a40e8b98602261ef227044
2012-04-29Get warble building again.Michael Sevakis
Change-Id: Ibdb2d9064d0e948cfb745c10a7b23de1a750d55b
2012-04-28rbcodec refactoring: get_audio_base_data_typeSean Bartell
This function has been changed to rbcodec_format_is_atomic, which doesn't require an enum from the kernel. Change-Id: I1d537605087fe130a9b545509d7b8a340806dbf2 Reviewed-on: http://gerrit.rockbox.org/141 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
2012-04-25Add codecs to librbcodec.Sean Bartell
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97 Reviewed-on: http://gerrit.rockbox.org/137 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
2012-03-27Fix warble and clean up/refactor Makefile.Thomas Martitz
Change-Id: I8754ad8724e22147b98a156fecea599bdda72292
2012-03-18Build librbcodec with DSP and metadata.Sean Bartell
All associated files are moved to /lib/rbcodec. Change-Id: I572ddd2b8a996aae1e98c081d06b1ed356dce222
2012-03-04Re-add -DDEBUG to the warble makefileFrank Gevaerts
Change-Id: I515d2299b0de39092fbae3b070bd2d6d19a43ec5
2012-03-03Remove standalone makefile. Use configure to buildFrank Gevaerts
Change-Id: Ifa4fac02100da17b16199ac63cad1f6fe569667f
2012-03-03Move includes of other makefiles around to make GCCFLAGS work properly.Frank Gevaerts
Change-Id: Ic6aed06298dcb668a2c0f2c09d25612437893d1b
2012-03-03Integrate the warble tool in the regular build system.Frank Gevaerts
Only sdl app builds work properly for now. Change-Id: I7807d42f69b8577b401e48cdc63de71e54f49217
2012-03-03Add the warble test program.Sean Bartell
Warble uses Rockbox's codecs to play files with SDL or convert them to WAV or raw formats. It also prints metadata and supports some of the DSP effects. In the future, warble could be used to implement an automated test suite for codecs, metadata, and DSP. Change-Id: Ife1a63d2354496016277bfcbae4a9c23423ebd86 Reviewed-on: http://gerrit.rockbox.org/135 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>