> -----Original Message-----
> From: Jeremya [mailto:jer...@electrosilk.net]
> Sent: Sunday, November 15, 2009 2:14 AM
> Cc: sipxtapi-dev@list.sipfoundry.org
> Subject: Re: [sipxtapi-dev] question about
> MprEncode::doPrimaryCodec(MpAudioBufPtr in)
> 
> Allen wrote:
> > Hi, all,
> >
> > I am new to sipXtapi. I downloaded the source code from the main
> branch:
> > http://scm.sipfoundry.org/rep/sipX/main/
> >
> > when I compile it, it showed an error in
> > MprEncode::doPrimaryCodec(MpAudioBufPtr in), "inSamplesNum" is not
> > declared.
> >
> > May I know how to deal with it?
> 
> There appears to be a typo in the code in that copy of svn. I found
> that
> if I changed inSamplesNum to numSamplesIn in mprEncode.cpp it all
> compiled and ran the test programs.


Changing this variable name builds but does not make sense because this
local variable is uninitialized when it is used here.
I suspect it should be replaced with in->getSamplesNumber() instead but I
cannot confirm this because I do not know the original problem this was
fixing.


> 
> I recall there were a bunch of other errors with similar resolutions -
> when I did the svn checkout earlier this week.
> 


_______________________________________________
sipxtapi-dev mailing list
sipxtapi-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to