1
0
Fork 0
forked from len0rd/rockbox

wma: move inline functions into .h file

use 'static inline' instead of GCC extension 'inline'
some GCC don't support this (android NDK for example)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27679 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-08-03 17:41:34 +00:00
parent 79d5c0702b
commit 2c00cb5e83
3 changed files with 130 additions and 134 deletions

View file

@ -30,11 +30,7 @@
#include "wmadata.h"
static void wma_lsp_to_curve_init(WMADecodeContext *s, int frame_len);
inline void vector_fmul_add_add(fixed32 *dst, const fixed32 *data,
const fixed32 *window, int n);
inline void vector_fmul_reverse(fixed32 *dst, const fixed32 *src0,
const fixed32 *src1, int len);
/*declarations of statically allocated variables used to remove malloc calls*/
fixed32 coefsarray[MAX_CHANNELS][BLOCK_MAX_SIZE] IBSS_ATTR;