Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:Update
openh323
openh323-system-amrnb.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openh323-system-amrnb.diff of Package openh323
--- plugins/audio/gsm-amr/Makefile.in +++ plugins/audio/gsm-amr/Makefile.in @@ -20,11 +20,7 @@ SONAME = gsmamrcodec -SRCS = amrcodec.c \ - interf_enc.c \ - interf_dec.c \ - sp_dec.c \ - sp_enc.c +SRCS = amrcodec.c OBJDIR = ./obj SRCDIR = ./src/c-code @@ -46,7 +42,7 @@ ifeq ($(H323_GSMAMR_NB_FLOAT),1) $(PLUGIN): $(OBJECTS) - $(CC) $(LDSO)$(SONAME) -o $@ $^ + $(CC) $(LDSO)$(SONAME) -lamrnb -o $@ $^ install: mkdir -p $(DESTDIR)$(LIBDIR)/pwlib/codecs/audio/ --- plugins/audio/gsm-amr/amrcodec.c +++ plugins/audio/gsm-amr/amrcodec.c @@ -14,8 +14,8 @@ #endif #include "opalplugin.h" -#include "src/interf_enc.h" -#include "src/interf_dec.h" +#include "amrnb/interf_enc.h" +#include "amrnb/interf_dec.h" PLUGIN_CODEC_IMPLEMENT("AMR") #include <stdio.h> --- plugins/configure.ac +++ plugins/configure.ac @@ -34,12 +34,12 @@ dnl look for amr-nb_float H323_GSMAMR_NB_FLOAT=0 -if test -r "./audio/gsm-amr/src/c-code/interf_dec.h" ; then +AC_CHECK_LIB([amrnb],[IF2Decoder_Interface_Decode],[ AC_MSG_NOTICE(Enabling GSM-AMR plugin) H323_GSMAMR_NB_FLOAT=1 -else +],[ AC_MSG_NOTICE(GSM-AMR plugin disabled (no 3GPP source)) -fi +]) AC_SUBST(H323_GSMAMR_NB_FLOAT, $H323_GSMAMR_NB_FLOAT)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor