|
|
5ef1e6 |
diff -up libsndfile-1.0.25/src/gsm610.c~ libsndfile-1.0.25/src/gsm610.c
|
|
|
5ef1e6 |
--- libsndfile-1.0.25/src/gsm610.c~ 2011-01-19 12:12:14.000000000 +0200
|
|
|
5ef1e6 |
+++ libsndfile-1.0.25/src/gsm610.c 2011-11-12 02:05:23.385054757 +0200
|
|
|
5ef1e6 |
@@ -27,7 +27,7 @@
|
|
|
5ef1e6 |
#include "sfendian.h"
|
|
|
5ef1e6 |
#include "common.h"
|
|
|
5ef1e6 |
#include "wav_w64.h"
|
|
|
5ef1e6 |
-#include "GSM610/gsm.h"
|
|
|
5ef1e6 |
+#include <gsm.h>
|
|
|
5ef1e6 |
|
|
|
5ef1e6 |
#define GSM610_BLOCKSIZE 33
|
|
|
5ef1e6 |
#define GSM610_SAMPLES 160
|
|
|
5ef1e6 |
@@ -388,7 +388,8 @@ gsm610_seek (SF_PRIVATE *psf, int UNUSED
|
|
|
5ef1e6 |
psf_fseek (psf, psf->dataoffset, SEEK_SET) ;
|
|
|
5ef1e6 |
pgsm610->blockcount = 0 ;
|
|
|
5ef1e6 |
|
|
|
5ef1e6 |
- gsm_init (pgsm610->gsm_data) ;
|
|
|
5ef1e6 |
+ gsm_destroy (pgsm610->gsm_data) ;
|
|
|
5ef1e6 |
+ pgsm610->gsm_data = gsm_create () ;
|
|
|
5ef1e6 |
if ((SF_CONTAINER (psf->sf.format)) == SF_FORMAT_WAV ||
|
|
|
5ef1e6 |
(SF_CONTAINER (psf->sf.format)) == SF_FORMAT_W64)
|
|
|
5ef1e6 |
gsm_option (pgsm610->gsm_data, GSM_OPT_WAV49, &true_flag) ;
|
|
|
5ef1e6 |
diff -up libsndfile-1.0.25/src/Makefile.am~ libsndfile-1.0.25/src/Makefile.am
|
|
|
5ef1e6 |
--- libsndfile-1.0.25/src/Makefile.am~ 2011-07-07 12:40:25.000000000 +0300
|
|
|
5ef1e6 |
+++ libsndfile-1.0.25/src/Makefile.am 2011-11-12 01:46:19.760807068 +0200
|
|
|
5ef1e6 |
@@ -8,7 +8,7 @@ lib_LTLIBRARIES = libsndfile.la
|
|
|
5ef1e6 |
include_HEADERS = sndfile.hh
|
|
|
5ef1e6 |
nodist_include_HEADERS = sndfile.h
|
|
|
5ef1e6 |
|
|
|
5ef1e6 |
-noinst_LTLIBRARIES = GSM610/libgsm.la G72x/libg72x.la libcommon.la
|
|
|
5ef1e6 |
+noinst_LTLIBRARIES = G72x/libg72x.la libcommon.la
|
|
|
5ef1e6 |
|
|
|
5ef1e6 |
OS_SPECIFIC_CFLAGS = @OS_SPECIFIC_CFLAGS@
|
|
|
5ef1e6 |
OS_SPECIFIC_LINKS = @OS_SPECIFIC_LINKS@
|
|
|
5ef1e6 |
@@ -49,7 +49,7 @@ endif
|
|
|
5ef1e6 |
libsndfile_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
|
|
|
5ef1e6 |
libsndfile_la_SOURCES = $(FILESPECIFIC) $(noinst_HEADERS)
|
|
|
5ef1e6 |
nodist_libsndfile_la_SOURCES = $(nodist_include_HEADERS)
|
|
|
5ef1e6 |
-libsndfile_la_LIBADD = libcommon.la GSM610/libgsm.la G72x/libg72x.la \
|
|
|
5ef1e6 |
+libsndfile_la_LIBADD = libcommon.la -lgsm G72x/libg72x.la \
|
|
|
5ef1e6 |
@EXTERNAL_LIBS@ -lm
|
|
|
5ef1e6 |
|
|
|
5ef1e6 |
libcommon_la_SOURCES = $(COMMON)
|
|
|
5ef1e6 |
@@ -57,12 +57,6 @@ libcommon_la_SOURCES = $(COMMON)
|
|
|
5ef1e6 |
#======================================================================
|
|
|
5ef1e6 |
# Subdir libraries.
|
|
|
5ef1e6 |
|
|
|
5ef1e6 |
-GSM610_libgsm_la_SOURCES = GSM610/config.h GSM610/gsm.h GSM610/gsm610_priv.h \
|
|
|
5ef1e6 |
- GSM610/add.c GSM610/code.c GSM610/decode.c GSM610/gsm_create.c \
|
|
|
5ef1e6 |
- GSM610/gsm_decode.c GSM610/gsm_destroy.c GSM610/gsm_encode.c \
|
|
|
5ef1e6 |
- GSM610/gsm_option.c GSM610/long_term.c GSM610/lpc.c GSM610/preprocess.c \
|
|
|
5ef1e6 |
- GSM610/rpe.c GSM610/short_term.c GSM610/table.c
|
|
|
5ef1e6 |
-
|
|
|
5ef1e6 |
G72x_libg72x_la_SOURCES = $(COMMON)G72x/g72x.h G72x/g72x_priv.h \
|
|
|
5ef1e6 |
G72x/g721.c G72x/g723_16.c G72x/g723_24.c G72x/g723_40.c G72x/g72x.c
|
|
|
5ef1e6 |
|