opustab: macro constant as a double

May increase intermediate precision on some compilers.
This commit is contained in:
Lynne 2024-04-29 01:44:46 +02:00
parent cf4af4bca0
commit f492095bd3
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464

View File

@ -1164,7 +1164,7 @@ const uint32_t * const ff_celt_pvq_u_row[15] = {
* libopus uses a slighly rounded constant, set to 0.85 exactly,
* to simplify its fixed-point version, but it's not significant to impact
* compliance. */
#define CELT_EMPH_COEFF 0.8500061035f
#define CELT_EMPH_COEFF 0.8500061035
DECLARE_ALIGNED(16, const float, ff_opus_deemph_weights)[] = {
CELT_EMPH_COEFF,