diff options
author | Mohamed Tarek <mt@rockbox.org> | 2010-06-21 10:48:34 +0000 |
---|---|---|
committer | Mohamed Tarek <mt@rockbox.org> | 2010-06-21 10:48:34 +0000 |
commit | 816fca820caa537a07c761f49d1f8ecf996a91ce (patch) | |
tree | 8ea2805d0536bd45c7a4f56fa39904e65829466a /apps/codecs/libwmapro/mdct_tablegen.h | |
parent | 9297a02d4964cae7727248665e278b251cac5533 (diff) |
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
Diffstat (limited to 'apps/codecs/libwmapro/mdct_tablegen.h')
-rw-r--r-- | apps/codecs/libwmapro/mdct_tablegen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libwmapro/mdct_tablegen.h b/apps/codecs/libwmapro/mdct_tablegen.h index 9f130aa6b5..998f86f283 100644 --- a/apps/codecs/libwmapro/mdct_tablegen.h +++ b/apps/codecs/libwmapro/mdct_tablegen.h @@ -20,7 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include <assert.h> +//#include <assert.h> // do not use libavutil/mathematics.h since this is compiled both // for the host and the target and config.h is only valid for the target #include <math.h> @@ -53,7 +53,7 @@ av_cold void ff_sine_window_init(float *window, int n) { } av_cold void ff_init_ff_sine_windows(int index) { - assert(index >= 0 && index < FF_ARRAY_ELEMS(ff_sine_windows)); + //assert(index >= 0 && index < FF_ARRAY_ELEMS(ff_sine_windows)); #if !CONFIG_HARDCODED_TABLES ff_sine_window_init(ff_sine_windows[index], 1 << index); #endif |