'libs/audiographer' - Try 'lrintf' instead of 'rintf' which isn't available in MSVC
authorJohn Emmas <johne53@tiscali.co.uk>
Thu, 5 Sep 2013 08:21:30 +0000 (09:21 +0100)
committerJohn Emmas <johne53@tiscali.co.uk>
Thu, 5 Sep 2013 08:21:30 +0000 (09:21 +0100)
libs/audiographer/private/gdither/gdither.cc

index d2a237eb742fcc4dac8561c488ef37bc08499107..75e16d7863535f7ad30986d9579453b42f3d2988 100644 (file)
@@ -292,7 +292,7 @@ inline static void gdither_innner_loop_fp(const GDitherType dt,
            break;
        }
 
-       clamped = rintf(tmp);
+       clamped = (double)lrintf(tmp);
        if (clamped > clamp_u) {
                clamped = clamp_u;
        } else if (clamped < clamp_l) {