summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libmusepack/internal.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-09-10 20:35:04 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-09-10 20:35:04 +0000
commitf163b405c0a6fcf069e79d099ac7d7d64adc4471 (patch)
tree77479775fdc3e8be42efba6f3a03d381bcc47279 /apps/codecs/libmusepack/internal.h
parentd4249affc41a0483ff9800b0b197e0fbeb5757fc (diff)
downloadrockbox-f163b405c0a6fcf069e79d099ac7d7d64adc4471.tar.gz
rockbox-f163b405c0a6fcf069e79d099ac7d7d64adc4471.zip
Fully remove floating point code from libmusepack. Introduce two small const arrays for precalculated scalefactors, correct the integer type of scalefactors to unsigned, migrate some metadata calculations to fixed point. No impact to decoder output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30497 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmusepack/internal.h')
-rw-r--r--apps/codecs/libmusepack/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libmusepack/internal.h b/apps/codecs/libmusepack/internal.h
index 3f8b29f9f5..897e6a7b17 100644
--- a/apps/codecs/libmusepack/internal.h
+++ b/apps/codecs/libmusepack/internal.h
@@ -99,7 +99,7 @@ static mpc_inline mpc_status mpc_check_key(char * key)
/// helper functions used by multiple files
mpc_uint32_t mpc_random_int(mpc_decoder *d); // in synth_filter.c
-void mpc_decoder_init_quant(mpc_decoder *d, double scale_factor);
+void mpc_decoder_init_quant(mpc_decoder *d, MPC_SAMPLE_FORMAT factor); // in requant.c
void mpc_decoder_synthese_filter_float(mpc_decoder *d, MPC_SAMPLE_FORMAT* OutData, mpc_int_t channels);
unsigned long mpc_crc32(unsigned char *buf, int len);