1
0
Fork 0
forked from len0rd/rockbox

Wrote apps/codecs/wmapro.c and modified libwmapro to make the codec work in the sim. Neither libwmapro nor wmapro.c have been added to the main build yet, codecs.make should be edited to compile both with rockbox.

current status of the decoder :
- Plays and seeks in the sim
- Still in floating point

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27006 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Mohamed Tarek 2010-06-21 10:48:34 +00:00
parent 9297a02d49
commit 816fca820c
16 changed files with 246 additions and 42 deletions

View file

@ -33,7 +33,7 @@
#include <limits.h>
#include <stdint.h>
#include <stddef.h>
#include <assert.h>
//#include <assert.h>
//#include "config.h"
#include "attributes.h"
//#include "timer.h"
@ -142,8 +142,8 @@
#endif
/* avoid usage of dangerous/inappropriate system functions */
#undef malloc
#define malloc please_use_av_malloc
//#undef malloc
//#define malloc please_use_av_malloc
#undef free
#define free please_use_av_free
#undef realloc
@ -163,8 +163,8 @@
#undef exit
#define exit exit_is_forbidden
#ifndef LIBAVFORMAT_BUILD
#undef printf
#define printf please_use_av_log_instead_of_printf
//#undef printf
//#define printf please_use_av_log_instead_of_printf
#undef fprintf
#define fprintf please_use_av_log_instead_of_fprintf
#undef puts