[Speex-dev] error during make

venkatram mustoor mustoor.venkatram at gmail.com
Thu Feb 15 01:39:11 PST 2007


Hi All,

I am getting this error during make.

please help me./
speexec.c: In function `speex_ec_process':
speexec.c:112: syntax error before "noise"
cc1: warnings being treated as errors
speexec.c:133: warning: implicit declaration of function
`speex_echo_state_reset'
speexec.c:148: warning: passing arg 5 of `speex_echo_cancel' makes
pointer from integer without a cast
speexec.c:149: warning: comparison between pointer and integer
speexec.c:150: warning: passing arg 3 of `speex_preprocess' makes
pointer from integer without a cast
make[3]: *** [speexec.lo] Error 1
make[3]: Leaving directory
`/home/umesh/IPPHONE/linphone-1.5.1/mediastreamer2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/umesh/IPPHONE/linphone-1.5.1/mediastreamer2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/umesh/IPPHONE/linphone-1.5.1/mediastreamer2'
make: *** [all] Error 2


On 2/15/07, speex-dev-request at xiph.org <speex-dev-request at xiph.org> wrote:
> Send Speex-dev mailing list submissions to
> 	speex-dev at xiph.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.xiph.org/mailman/listinfo/speex-dev
> or, via email, send a message with subject or body 'help' to
> 	speex-dev-request at xiph.org
>
> You can reach the person managing the list at
> 	speex-dev-owner at xiph.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Speex-dev digest..."
>
>
> Today's Topics:
>
>    1. RE: frame of silence (David Hogan)
>    2. RE: frame of silence (Chris Cowden)
>    3. RE: frame of silence (David Hogan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 15 Feb 2007 07:37:25 +1100
> From: "David Hogan" <david.hogan at freshtel.net>
> Subject: RE: [Speex-dev] frame of silence
> To: "Chris Cowden" <ccowden at ncsoft.com>, <speex-dev at xiph.org>
> Message-ID:
> 	<971FA0386407DE4096E96382F4E3AD444C66DA at Mail01.mel.au.office.freshtel.net>
> 	
> Content-Type: text/plain; charset="us-ascii"
>
> Forgive me if I misunderstood your question, but can't you just
> overwrite the decoded audio buffer (either before encoding or after
> decoding, depending on what you are trying to do) with zeros?
>
> Cheers,
> David Hogan
>
>
> ________________________________
>
> 	From: speex-dev-bounces at xiph.org
> [mailto:speex-dev-bounces at xiph.org] On Behalf Of Chris Cowden
> 	Sent: Thursday, 15 February 2007 3:43 AM
> 	To: speex-dev at xiph.org
> 	Subject: [Speex-dev] frame of silence
> 	
> 	
>
> 	Hi, I'm new to this list. I'm using Speex as the base codec in a
> voice chat application (with DirectSound as the audio playback/capture
> interface).
>
> 	
>
> 	To help me debug some of my network-related issues, I would
> really like to insert frames of "silence" into speech. Is there a
> convenient function call or API call that takes in a buffer that is the
> size of a frame and writes a frame of "silence" to it?
>
> 	
>
> 	I'm not sure if I'm wording the question well, so any feedback
> would be greatly appreciated!
>
> 	
>
> 	Btw, I am really enjoying using this codec and look forward to
> getting this working! Thanks!
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.xiph.org/pipermail/speex-dev/attachments/20070215/412e12a8/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 14 Feb 2007 14:56:51 -0600
> From: "Chris Cowden" <ccowden at ncsoft.com>
> Subject: RE: [Speex-dev] frame of silence
> To: "David Hogan" <david.hogan at freshtel.net>, <speex-dev at xiph.org>
> Message-ID:
> 	<20591AC917B5B048B77E1BEEF2454CCD4FEAB0 at NCAEXCH02.ncaustin.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Okay, you've answered part of my question, which is "What value equals
> silence?". I assume then that a (decoded) frame of silence would be a
> buffer the size of my frame (320 bytes) full of 0's.
>
>
>
> Passing this frame (a frame of all 0's) through the encoder causes it to
> blowup though..
>
>
>
> In response to your answer below, I don't think I want to overwrite the
> decoded audio output since I don't want to lose any "voice", I only want
> to interpolate silence into it. So I would guess your response to this
> would be "Why don't you just interpolate a frame of 0's in between
> frames of voice after it's been decoded?"... to which I reply, "that
> seems sort of hack-ish... I'm looking for a more programmatic way of
> generating silence that the speex codec won't choke on." Is there such a
> thing?
>
>
>
> I don't mean to have a one-sided conversation, only to make the best use
> of the bandwidth of this email.. Thank you for your help and I look
> forward to any responses!
>
>
>
> ________________________________
>
> From: David Hogan [mailto:david.hogan at freshtel.net]
> Sent: Wednesday, February 14, 2007 2:37 PM
> To: Chris Cowden; speex-dev at xiph.org
> Subject: RE: [Speex-dev] frame of silence
>
>
>
> Forgive me if I misunderstood your question, but can't you just
> overwrite the decoded audio buffer (either before encoding or after
> decoding, depending on what you are trying to do) with zeros?
>
>
>
> Cheers,
>
> David Hogan
>
> 	
>
> 	
> ________________________________
>
>
> 	From: speex-dev-bounces at xiph.org
> [mailto:speex-dev-bounces at xiph.org] On Behalf Of Chris Cowden
> 	Sent: Thursday, 15 February 2007 3:43 AM
> 	To: speex-dev at xiph.org
> 	Subject: [Speex-dev] frame of silence
>
> 	Hi, I'm new to this list. I'm using Speex as the base codec in a
> voice chat application (with DirectSound as the audio playback/capture
> interface).
>
> 	
>
> 	To help me debug some of my network-related issues, I would
> really like to insert frames of "silence" into speech. Is there a
> convenient function call or API call that takes in a buffer that is the
> size of a frame and writes a frame of "silence" to it?
>
> 	
>
> 	I'm not sure if I'm wording the question well, so any feedback
> would be greatly appreciated!
>
> 	
>
> 	Btw, I am really enjoying using this codec and look forward to
> getting this working! Thanks!
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.xiph.org/pipermail/speex-dev/attachments/20070214/198f52b2/attachment.htm
>
> ------------------------------
>
> Message: 3
> Date: Thu, 15 Feb 2007 09:35:52 +1100
> From: "David Hogan" <david.hogan at freshtel.net>
> Subject: RE: [Speex-dev] frame of silence
> To: "Chris Cowden" <ccowden at ncsoft.com>, <speex-dev at xiph.org>
> Message-ID:
> 	<971FA0386407DE4096E96382F4E3AD444C66E8 at Mail01.mel.au.office.freshtel.net>
> 	
> Content-Type: text/plain; charset="us-ascii"
>
> In what fashion does the encoder 'blowup' when passed a frame of zeroes
> to encode?
> What version of speex are you using?
>
> ________________________________
>
> From: Chris Cowden [mailto:ccowden at ncsoft.com]
> Sent: Thursday, 15 February 2007 7:57 AM
> To: David Hogan; speex-dev at xiph.org
> Subject: RE: [Speex-dev] frame of silence
>
>
>
> 	Okay, you've answered part of my question, which is "What value
> equals silence?". I assume then that a (decoded) frame of silence would
> be a buffer the size of my frame (320 bytes) full of 0's.
>
> 	
>
> 	Passing this frame (a frame of all 0's) through the encoder
> causes it to blowup though..
>
> 	
>
> 	In response to your answer below, I don't think I want to
> overwrite the decoded audio output since I don't want to lose any
> "voice", I only want to interpolate silence into it. So I would guess
> your response to this would be "Why don't you just interpolate a frame
> of 0's in between frames of voice after it's been decoded?"... to which
> I reply, "that seems sort of hack-ish... I'm looking for a more
> programmatic way of generating silence that the speex codec won't choke
> on." Is there such a thing?
>
> 	
>
> 	I don't mean to have a one-sided conversation, only to make the
> best use of the bandwidth of this email.. Thank you for your help and I
> look forward to any responses!
>
> 	
>
> 	
> ________________________________
>
>
> 	From: David Hogan [mailto:david.hogan at freshtel.net]
> 	Sent: Wednesday, February 14, 2007 2:37 PM
> 	To: Chris Cowden; speex-dev at xiph.org
> 	Subject: RE: [Speex-dev] frame of silence
>
> 	
>
> 	Forgive me if I misunderstood your question, but can't you just
> overwrite the decoded audio buffer (either before encoding or after
> decoding, depending on what you are trying to do) with zeros?
>
> 	
>
> 	Cheers,
>
> 	David Hogan
>
> 		
>
> 		
> ________________________________
>
>
> 		From: speex-dev-bounces at xiph.org
> [mailto:speex-dev-bounces at xiph.org] On Behalf Of Chris Cowden
> 		Sent: Thursday, 15 February 2007 3:43 AM
> 		To: speex-dev at xiph.org
> 		Subject: [Speex-dev] frame of silence
>
> 		Hi, I'm new to this list. I'm using Speex as the base
> codec in a voice chat application (with DirectSound as the audio
> playback/capture interface).
>
> 		
>
> 		To help me debug some of my network-related issues, I
> would really like to insert frames of "silence" into speech. Is there a
> convenient function call or API call that takes in a buffer that is the
> size of a frame and writes a frame of "silence" to it?
>
> 		
>
> 		I'm not sure if I'm wording the question well, so any
> feedback would be greatly appreciated!
>
> 		
>
> 		Btw, I am really enjoying using this codec and look
> forward to getting this working! Thanks!
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.xiph.org/pipermail/speex-dev/attachments/20070215/2cc69df7/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
>
>
> End of Speex-dev Digest, Vol 33, Issue 17
> *****************************************
>
speexec.c: In function `speex_ec_process':
speexec.c:112: syntax error before "noise"
:cc1: warnings being treated as errors
speexec.c:133: warning: implicit declaration of function
`speex_echo_state_reset'
speexec.c:148: warning: passing arg 5 of `speex_echo_cancel' makes
pointer from integer without a cast
speexec.c:149: warning: comparison between pointer and integer
speexec.c:150: warning: passing arg 3 of `speex_preprocess' makes
pointer from integer without a cast
make[3]: *** [speexec.lo] Error 1
make[3]: Leaving directory
`/home/umesh/IPPHONE/linphone-1.5.1/mediastreamer2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/umesh/IPPHONE/linphone-1.5.1/mediastreamer2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/umesh/IPPHONE/linphone-1.5.1/mediastreamer2'
make: *** [all] Error 2


More information about the Speex-dev mailing list