Use literal for compatibility
authorRobin Gareus <robin@gareus.org>
Wed, 23 Aug 2017 10:43:48 +0000 (12:43 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 23 Aug 2017 10:43:48 +0000 (12:43 +0200)
libs/backends/dummy/dummy_audiobackend.cc

index 692cdc3e08fde2625d81fc490fe90bf6d443a25c..658f877c1f39925a1d715cb4cbf11384b092be25 100644 (file)
@@ -1909,7 +1909,7 @@ static const float _demolition[] = {
        -4.3f,           /* arbitrary negative number > 0dBFS */
         4294967395.0f,  /* 2^16 + 100 */
        -4294967395.0f,
-        HUGE,           /* Big, non-inf number */
+        3.40282347e+38F,/* HUGE, HUGEVALF, non-inf number */
         INFINITY,       /* +inf */
        -INFINITY,       /* -inf */
        -NAN,            /* -nan */