#include <stdio.h>
#include <stdlib.h>
+#include <math.h>
#include <pulsecore/g711.h>
#include <pulsecore/macro.h>
+#include <pulsecore/endianmacros.h>
-#include "endianmacros.h"
-#include "sconv-s16le.h"
-#include "sconv-s16be.h"
+#include <pulsecore/sconv-s16le.h>
+#include <pulsecore/sconv-s16be.h>
#include "sconv.h"
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);
}
}