mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 16:42:33 -05:00
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
This commit is contained in:
parent
d4249affc4
commit
f163b405c0
6 changed files with 75 additions and 15 deletions
|
|
@ -58,7 +58,7 @@ typedef struct mpc_streaminfo {
|
|||
mpc_uint32_t channels; ///< Number of channels in stream
|
||||
mpc_uint32_t stream_version; ///< Streamversion of stream
|
||||
mpc_uint32_t bitrate; ///< Bitrate of stream file (in bps)
|
||||
double average_bitrate; ///< Average bitrate of stream (in bits/sec)
|
||||
mpc_uint32_t average_bitrate; ///< Average bitrate of stream (in bits/sec)
|
||||
mpc_uint32_t max_band; ///< Maximum band-index used in stream (0...31)
|
||||
mpc_uint32_t ms; ///< Mid/side stereo (0: off, 1: on)
|
||||
mpc_uint32_t fast_seek; ///< True if stream supports fast-seeking (sv7)
|
||||
|
|
@ -87,7 +87,7 @@ typedef struct mpc_streaminfo {
|
|||
char encoder[256]; ///< Encoder name
|
||||
*/
|
||||
mpc_bool_t pns; ///< pns used
|
||||
float profile; ///< Quality profile of stream
|
||||
mpc_uint32_t profile; ///< Quality profile of stream
|
||||
/* rockbox: not used
|
||||
const char* profile_name; ///< Name of profile used by stream
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue