A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Expand the range of the WPA Pro quant table. Fixes FS#12704.

Change-Id: I5495c4d7d165cac15016d3233b85bbe5497ea3e1

+6 -4
+6 -4
lib/rbcodec/codecs/libwmapro/quant.h
··· 8 8 * floating point value is : 9 9 * quant = pow(10.0, exp/20) 10 10 * 'exp' is an integer value which I have exmerimentally found to fall in the 11 - * range (0,170). */ 12 - const int32_t quant_tab[171] = { 11 + * range (0,180). */ 12 + const int32_t quant_tab[181] = { 13 13 0x00000001, 0x00000001, 14 14 0x00000001, 0x00000001, 0x00000002, 0x00000002, 15 15 0x00000002, 0x00000002, 0x00000003, 0x00000003, ··· 53 53 0x04BC0C77, 0x054FF0E6, 0x05F5E100, 0x06B01075, 54 54 0x0780F7BD, 0x086B5C7A, 0x09725AE7, 0x0A997065, 55 55 0x0BE48757, 0x0D580472, 0x0EF8D5A3, 0x10CC82D5, 56 - 0x12D940B6 56 + 0x12D940B6, 0x152605CD, 0x17BAA222, 0x1A9FD9C8, 57 + 0x1DDF82A1, 0x2184A5CD, 0x259BA520, 0x2A326538, 58 + 0x2F587CAA, 0x351F68FA, 0x3B9ACA00, 57 59 }; 58 60 59 61 #define EXP_MIN 0 60 - #define EXP_MAX 170 62 + #define EXP_MAX 180 61 63 62 64 /* return the correct value of quant based on exp */ 63 65 #define QUANT(exp) quant_tab[exp - EXP_MIN]