aboutsummaryrefslogtreecommitdiffstats
path: root/plc.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-17 22:38:10 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-17 22:38:10 +0000
commite22fd68e660e95bcd368822a71af3dceb466e242 (patch)
treeb270d05035c550147e7fa605afd280931cf60f3d /plc.c
parent458cadfc4d9a4fe0da466ed9d12aee7f8b693d98 (diff)
Fix PLC for BSD
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5195 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'plc.c')
-rwxr-xr-xplc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plc.c b/plc.c
index 1f6d8a061..d14a98f30 100755
--- a/plc.c
+++ b/plc.c
@@ -33,6 +33,7 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include <stdint.h>
#include <limits.h>
#include <asterisk/plc.h>
@@ -123,7 +124,6 @@ static int __inline__ amdf_pitch(int min_pitch, int max_pitch, int16_t amp[], in
int plc_rx(plc_state_t *s, int16_t amp[], int len)
{
int i;
- int overlap_len;
int pitch_overlap;
float old_step;
float new_step;
@@ -167,7 +167,6 @@ int plc_rx(plc_state_t *s, int16_t amp[], int len)
int plc_fillin(plc_state_t *s, int16_t amp[], int len)
{
- int16_t tmp[PLC_PITCH_OVERLAP_MAX];
int i;
int pitch_overlap;
float old_step;