summaryrefslogtreecommitdiff
path: root/apps/codecs/libmusepack/decoder.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/decoder.h
parentd4249affc41a0483ff9800b0b197e0fbeb5757fc (diff)
downloadrockbox-f163b405c0a6fcf069e79d099ac7d7d64adc4471.zip
rockbox-f163b405c0a6fcf069e79d099ac7d7d64adc4471.tar.gz
rockbox-f163b405c0a6fcf069e79d099ac7d7d64adc4471.tar.bz2
rockbox-f163b405c0a6fcf069e79d099ac7d7d64adc4471.tar.xz
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/decoder.h')
-rw-r--r--apps/codecs/libmusepack/decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libmusepack/decoder.h b/apps/codecs/libmusepack/decoder.h
index 7e98540..1acacae 100644
--- a/apps/codecs/libmusepack/decoder.h
+++ b/apps/codecs/libmusepack/decoder.h
@@ -91,7 +91,7 @@ struct mpc_decoder_t {
MPC_SAMPLE_FORMAT *V_R;
MPC_SAMPLE_FORMAT *Y_L;
MPC_SAMPLE_FORMAT *Y_R;
- MPC_SAMPLE_FORMAT SCF[256]; ///< holds adapted scalefactors (for clipping prevention)
+ mpc_uint32_t SCF[256]; ///< holds adapted scalefactors (for clipping prevention)
//@}
};