]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/sconv.c
Merge remote branch 'mkbosmans/rate-adjustment'
[pulseaudio] / src / pulsecore / sconv.c
index d06d69858e767aa247f3b1508acad1e76d356929..301f08b4a17e576c47a0e25f05e387ec325abe4f 100644 (file)
@@ -52,8 +52,8 @@ static void u8_from_float32ne(unsigned n, const float *a, uint8_t *b) {
     for (; n > 0; n--, a++, b++) {
         float v;
         v = (*a * 127.0) + 128.0;
-       v = PA_CLAMP_UNLIKELY (v, 0.0, 255.0);
-       *b = rint (v);
+        v = PA_CLAMP_UNLIKELY (v, 0.0, 255.0);
+        *b = rint (v);
     }
 }