More cleanups and OSX fixes for 10.3

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-27 20:00:41 +00:00
parent 251e70953e
commit 0de223a1ee
12 changed files with 48 additions and 65 deletions

View File

@@ -37,6 +37,10 @@ WAV49 = -DWAV49
######### ppro's, etc, as well as the AMD K6 and K7. The compile will
######### probably require gcc.
ifneq (${OSARCH},Darwin)
OPTIMIZE+=-march=$(PROC)
endif
PG =
#PG = -g -pg
######### Profiling flags. If you don't know what that means, leave it blank.
@@ -54,7 +58,7 @@ PG =
# CC = /usr/lang/acc
# CCFLAGS = -c -O
CC = gcc $(OPTIMIZE) -march=$(PROC) -fomit-frame-pointer
CC = gcc $(OPTIMIZE) -fomit-frame-pointer
CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops -fPIC
LD = $(CC)
@@ -189,7 +193,7 @@ GSM_SOURCES = $(SRC)/add.c \
$(SRC)/gsm_option.c \
$(SRC)/short_term.c \
$(SRC)/table.c
ifneq (${OSARCH},OpenBSD)
ifeq (${OSARCH},Linux)
GSM_SOURCES+= $(SRC)/k6opt.s
endif
@@ -236,7 +240,7 @@ GSM_OBJECTS = $(SRC)/add.o \
$(SRC)/gsm_option.o \
$(SRC)/short_term.o \
$(SRC)/table.o
ifneq (${OSARCH},OpenBSD)
ifeq (${OSARCH},Linux)
GSM_OBJECTS+= $(SRC)/k6opt.o
endif

View File

@@ -62,6 +62,10 @@ void Gsm_Coder P8((S,s,LARc,Nc,bc,Mc,xmaxc,xMc),
word so[160];
#if !(defined(__GNUC__) && defined(__i386__))
longword ltmp;
#endif
Gsm_Preprocess (S, s, so);
Gsm_LPC_Analysis (S, so, LARc);
Gsm_Short_Term_Analysis_Filter (S, LARc, so);