Bug#331406: marked as done (speex: Patch needed by iaxclient)

Debian Bug Tracking System owner at bugs.debian.org
Tue Nov 8 08:18:07 UTC 2005


Your message dated Tue, 08 Nov 2005 00:02:13 -0800
with message-id <E1EZOQn-0006z5-00 at spohr.debian.org>
and subject line Bug#331313: fixed in iaxclient 0.0+cvs20050725-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Oct 2005 10:35:36 +0000
>From mikael at hem.za.org Mon Oct 03 03:35:36 2005
Return-path: <mikael at hem.za.org>
Received: from 84-217-28-140.tn.glocalnet.net (mulder.hem.za.org) [84.217.28.140] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EMNfU-0001lK-00; Mon, 03 Oct 2005 03:35:36 -0700
Received: from skinner.hem.za.org ([fec0::202:44ff:fe1d:d021])
	by mulder.hem.za.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
	(Exim 4.50)
	id 1EMNf8-0004QA-U0; Mon, 03 Oct 2005 12:35:14 +0200
Received: from mikael by skinner.hem.za.org with local (Exim 4.52)
	id 1EMNf3-00084U-Kc; Mon, 03 Oct 2005 12:35:09 +0200
Date: Mon, 3 Oct 2005 12:35:09 +0200
From: Mikael Magnusson <mikma at users.sourceforge.net>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: speex: Patch needed by iaxclient
Message-ID: <20051003103509.GA29862 at skinner.hem.za.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 3.17
User-Agent: Mutt/1.5.9i
Sender: Mikael Magnusson <mikael at hem.za.org>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: speex
Version: 1.1.6-2
Severity: wishlist
Tags: patch

Hi,

this is a request to add a patch that is needed to build iaxlient with the
Debian speex library. The iaxclient package currently uses a statically
linked custom speex library.

Thanks,
Mikael Magnusson

diff -ur libspeex/preprocess.c /home/mikael/tmp/cvs/iaxclient/lib/libspeex/preprocess.c
--- libspeex/preprocess.c	2005-08-10 13:59:54.000000000 +0200
+++ /home/mikael/tmp/cvs/iaxclient/lib/libspeex/preprocess.c	2005-05-14 12:33:46.000000000 +0200
@@ -50,6 +50,9 @@
 #define SQRT_M_PI_2 0.88623
 #define LOUDNESS_EXP 2.5
 
+#define SPEEX_PROB_START_DEFAULT    0.35f
+#define SPEEX_PROB_CONTINUE_DEFAULT 0.20f
+
 #define NB_BANDS 8
 
 #define ZMIN .1
@@ -153,6 +156,9 @@
    st->reverb_decay = .5;
    st->reverb_level = .2;
 
+   st->speech_prob_start = SPEEX_PROB_START_DEFAULT;
+   st->speech_prob_continue = SPEEX_PROB_CONTINUE_DEFAULT;
+
    st->frame = (float*)speex_alloc(2*N*sizeof(float));
    st->ps = (float*)speex_alloc(N*sizeof(float));
    st->gain2 = (float*)speex_alloc(N*sizeof(float));
@@ -447,7 +453,8 @@
       st->speech_prob = p0/(1e-25f+p1+p0);
       /*fprintf (stderr, "%f %f %f ", tot_loudness, st->loudness2, st->speech_prob);*/
 
-      if (st->speech_prob>.35 || (st->last_speech < 20 && st->speech_prob>.1))
+      if (st->speech_prob > st->speech_prob_start 
+	  || (st->last_speech < 20 && st->speech_prob > st->speech_prob_continue))
       {
          is_speech = 1;
          st->last_speech = 0;
@@ -1037,7 +1044,29 @@
       (*(float*)ptr) = st->reverb_decay;
       break;
 
-      default:
+   case SPEEX_PREPROCESS_SET_PROB_START:
+      st->speech_prob_start = (*(float*)ptr);
+      if ( st->speech_prob_start > 1 )
+	  st->speech_prob_start = st->speech_prob_start / 100;
+      if ( st->speech_prob_start > 1 || st->speech_prob_start < 0 )
+	  st->speech_prob_start = SPEEX_PROB_START_DEFAULT;
+      break;
+   case SPEEX_PREPROCESS_GET_PROB_START:
+      (*(float*)ptr) = st->speech_prob_start ;
+      break;
+
+   case SPEEX_PREPROCESS_SET_PROB_CONTINUE:
+      st->speech_prob_continue = (*(float*)ptr);
+      if ( st->speech_prob_continue > 1 )
+	  st->speech_prob_continue = st->speech_prob_continue / 100;
+      if ( st->speech_prob_continue > 1 || st->speech_prob_continue < 0 )
+	  st->speech_prob_continue = SPEEX_PROB_CONTINUE_DEFAULT;
+      break;
+   case SPEEX_PREPROCESS_GET_PROB_CONTINUE:
+      (*(float*)ptr) = st->speech_prob_continue;
+      break;
+
+   default:
       speex_warning_int("Unknown speex_preprocess_ctl request: ", request);
       return -1;
    }
diff -ur include/speex/speex_preprocess.h /home/mikael/tmp/cvs/iaxclient/lib/libspeex/include/speex/speex_preprocess.h
--- include/speex/speex_preprocess.h	2005-07-25 11:16:04.000000000 +0200
+++ /home/mikael/tmp/cvs/iaxclient/lib/libspeex/include/speex/speex_preprocess.h	2005-05-14 12:33:46.000000000 +0200
@@ -55,6 +55,8 @@
    int    dereverb_enabled;
    float  reverb_decay;
    float  reverb_level;
+   float  speech_prob_start;
+   float  speech_prob_continue;
    
    float *frame;             /**< Processing frame (2*ps_size) */
    float *ps;                /**< Current power spectrum */
@@ -140,6 +142,13 @@
 #define SPEEX_PREPROCESS_SET_DEREVERB_DECAY 12
 #define SPEEX_PREPROCESS_GET_DEREVERB_DECAY 13
 
+#define SPEEX_PREPROCESS_SET_PROB_START 14
+#define SPEEX_PREPROCESS_GET_PROB_START 15
+
+#define SPEEX_PREPROCESS_SET_PROB_CONTINUE 16
+#define SPEEX_PREPROCESS_GET_PROB_CONTINUE 17
+
+
 #ifdef __cplusplus
 }
 #endif



-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (871, 'stable'), (50, 'testing'), (30, 'unstable'), (10, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-vserver-k7
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)


---------------------------------------
Received: (at 331313-close) by bugs.debian.org; 8 Nov 2005 08:06:34 +0000
>From katie at spohr.debian.org Tue Nov 08 00:06:34 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EZOQn-0006z5-00; Tue, 08 Nov 2005 00:02:13 -0800
From: Mark Purcell <msp at debian.org>
To: 331313-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#331313: fixed in iaxclient 0.0+cvs20050725-5
Message-Id: <E1EZOQn-0006z5-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Tue, 08 Nov 2005 00:02:13 -0800
Delivered-To: 331313-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: iaxclient
Source-Version: 0.0+cvs20050725-5

We believe that the bug you reported is fixed in the latest version of
iaxclient, which is due to be installed in the Debian FTP archive:

iaxclient_0.0+cvs20050725-5.diff.gz
  to pool/main/i/iaxclient/iaxclient_0.0+cvs20050725-5.diff.gz
iaxclient_0.0+cvs20050725-5.dsc
  to pool/main/i/iaxclient/iaxclient_0.0+cvs20050725-5.dsc
iaxcomm_0.0+cvs20050725-5_i386.deb
  to pool/main/i/iaxclient/iaxcomm_0.0+cvs20050725-5_i386.deb
libiaxclient-dev_0.0+cvs20050725-5_i386.deb
  to pool/main/i/iaxclient/libiaxclient-dev_0.0+cvs20050725-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 331313 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Purcell <msp at debian.org> (supplier of updated iaxclient package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  8 Nov 2005 07:42:38 +0000
Source: iaxclient
Binary: iaxcomm libiaxclient-dev
Architecture: source i386
Version: 0.0+cvs20050725-5
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
Changed-By: Mark Purcell <msp at debian.org>
Description: 
 iaxcomm    - Portable IAX(2) protocol telephony client
 libiaxclient-dev - Portable IAX(2) protocol telephony client - development files
Closes: 321309 331313
Changes: 
 iaxclient (0.0+cvs20050725-5) unstable; urgency=low
 .
   [ Mikael Magnusson ]
   * debian/copyright: add Speex copyright and license.
   * Add patch to resolve deadlock during shutdown. (Closes: #321309:
     iaxcomm: sometimes stalls or freezes on exit)
   * Enable the Analog AGC filter which was always disabled.
   * Announce iaxcomm version 1.0rc3 in the about dialog.
   * Return PACKAGE_VERSION in iaxc_version.
   * Add debug build option in rules, using wx debug libraries.
   * Force usage of wx version 2.4.
   * Stop ring back tone if voice data are received.
   * Use configurable VAD (needs libspeex >= 1.1.10-1). (Closes: #331313:
     iaxclient: should use shared libspeex when possible)
 .
   * add man pages for iaxcomm and testcall (Tzafrir)
Files: 
 2a970cd48af3c97bc6c5d9a4b2415d45 968 comm optional iaxclient_0.0+cvs20050725-5.dsc
 5ff6f7a8f6e031405ae531c916ccfcad 384688 comm optional iaxclient_0.0+cvs20050725-5.diff.gz
 ea2e699c9cf32c08a0d0abc69b26e41b 101236 devel optional libiaxclient-dev_0.0+cvs20050725-5_i386.deb
 b89cc060e21dc1344b8c6bc6e02b3430 462674 comm optional iaxcomm_0.0+cvs20050725-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDcFgToCzanz0IthIRAkEAAJ97q5y/GMzNIG5hbgMADgS/mjVIRgCfRiHf
VOB/xqwK7wVvDNVWBPrQooA=
=6Bdu
-----END PGP SIGNATURE-----




More information about the Pkg-voip-maintainers mailing list