update to snapshot spandsp-20080928.tar.gz

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9772 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-10-01 04:08:43 +00:00
parent 738c0fc1dd
commit f515127f28
6 changed files with 22 additions and 16 deletions

View File

@ -1 +1 @@
Wed Oct 1 00:06:28 EDT 2008 Wed Oct 1 00:08:32 EDT 2008

View File

@ -16,7 +16,7 @@
## License along with this program; if not, write to the Free Software ## License along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
## ##
## $Id: Makefile.am,v 1.43 2008/09/20 15:44:40 steveu Exp $ ## $Id: Makefile.am,v 1.44 2008/09/28 14:36:25 steveu Exp $
AM_CFLAGS = $(COMP_VENDOR_CFLAGS) AM_CFLAGS = $(COMP_VENDOR_CFLAGS)
AM_LDFLAGS = $(COMP_VENDOR_LDFLAGS) AM_LDFLAGS = $(COMP_VENDOR_LDFLAGS)
@ -73,7 +73,7 @@ rpm-build:
rm -f rpm/SOURCES/* rm -f rpm/SOURCES/*
rm -f rpm/SPECS/* rm -f rpm/SPECS/*
rm -f rpm/SRPMS/* rm -f rpm/SRPMS/*
rpm -ta --sign @PACKAGE@-@VERSION@.tar.gz rpmbuild -ta --sign @PACKAGE@-@VERSION@.tar.gz
bump.rpm.release: spandsp.spec bump.rpm.release: spandsp.spec
VERSION="x"; \ VERSION="x"; \

View File

@ -2,18 +2,18 @@ Summary: A DSP library for telephony.
Name: spandsp Name: spandsp
Version: 0.0.5 Version: 0.0.5
Release: 1 Release: 1
License: GPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.soft-switch.org/spandsp URL: http://www.soft-switch.org/spandsp
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source: http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.5.tar.gz Source: http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.5.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Docdir: %{_prefix}/doc
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
BuildRequires: doxygen BuildRequires: doxygen
# for xsltproc:
BuildRequires: libxslt
%description %description
SpanDSP is a library of DSP functions for telephony, in the 8000 SpanDSP is a library of DSP functions for telephony, in the 8000
@ -56,8 +56,6 @@ rm -rf %{buildroot}
%{_libdir}/libspandsp.so.* %{_libdir}/libspandsp.so.*
%{_datadir}/spandsp
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc doc/api %doc doc/api
@ -70,6 +68,10 @@ rm -rf %{buildroot}
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%changelog %changelog
* Wed Sep 24 2008 Tzafrir Cohen <tzafrir.cohen@xorcom.com> 0.0.5-1
- Preparing for 0.0.5pre4 release
- License: LGPL
* Mon 23 Jun 2008 Steve Underwood <steveu@coppice.org> 0.0.5-1 * Mon 23 Jun 2008 Steve Underwood <steveu@coppice.org> 0.0.5-1
- Cleared out the dependency on libxml2 - Cleared out the dependency on libxml2

View File

@ -2,18 +2,18 @@ Summary: A DSP library for telephony.
Name: @PACKAGE@ Name: @PACKAGE@
Version: @VERSION@ Version: @VERSION@
Release: 1 Release: 1
License: GPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.soft-switch.org/spandsp URL: http://www.soft-switch.org/spandsp
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source: http://www.soft-switch.org/downloads/spandsp/@PACKAGE@-@VERSION@.tar.gz Source: http://www.soft-switch.org/downloads/spandsp/@PACKAGE@-@VERSION@.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Docdir: %{_prefix}/doc
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
BuildRequires: doxygen BuildRequires: doxygen
# for xsltproc:
BuildRequires: libxslt
%description %description
SpanDSP is a library of DSP functions for telephony, in the 8000 SpanDSP is a library of DSP functions for telephony, in the 8000
@ -56,8 +56,6 @@ rm -rf %{buildroot}
%{_libdir}/libspandsp.so.* %{_libdir}/libspandsp.so.*
%{_datadir}/spandsp
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc doc/api %doc doc/api
@ -70,6 +68,10 @@ rm -rf %{buildroot}
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%changelog %changelog
* Wed Sep 24 2008 Tzafrir Cohen <tzafrir.cohen@xorcom.com> 0.0.5-1
- Preparing for 0.0.5pre4 release
- License: LGPL
* Mon 23 Jun 2008 Steve Underwood <steveu@coppice.org> 0.0.5-1 * Mon 23 Jun 2008 Steve Underwood <steveu@coppice.org> 0.0.5-1
- Cleared out the dependency on libxml2 - Cleared out the dependency on libxml2

View File

@ -30,8 +30,8 @@
/* The date and time of the version are in UTC form. */ /* The date and time of the version are in UTC form. */
#define SPANDSP_RELEASE_DATE 20080920 #define SPANDSP_RELEASE_DATE 20080928
#define SPANDSP_RELEASE_TIME 154737 #define SPANDSP_RELEASE_TIME 144338
#endif #endif
/*- End of file ------------------------------------------------------------*/ /*- End of file ------------------------------------------------------------*/

View File

@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* $Id: g726_tests.c,v 1.27 2008/08/29 09:28:13 steveu Exp $ * $Id: g726_tests.c,v 1.28 2008/09/28 14:36:25 steveu Exp $
*/ */
/*! \file */ /*! \file */
@ -1279,6 +1279,8 @@ int main(int argc, char *argv[])
} }
printf("ADPCM packing is %d\n", packing); printf("ADPCM packing is %d\n", packing);
//g726_init(&enc_state, bit_rate, G726_ENCODING_LINEAR, G726_PACKING_LEFT);
//g726_init(&dec_state, bit_rate, G726_ENCODING_LINEAR, G726_PACKING_RIGHT);
g726_init(&enc_state, bit_rate, G726_ENCODING_LINEAR, packing); g726_init(&enc_state, bit_rate, G726_ENCODING_LINEAR, packing);
g726_init(&dec_state, bit_rate, G726_ENCODING_LINEAR, packing); g726_init(&dec_state, bit_rate, G726_ENCODING_LINEAR, packing);