Hi Pedro,

I just fixed this in 10595.
It was a bug caused when wideband playBuffer was implemented.
callLib currently doesn't support wideband yet, but the underlying libraries
(sipXmediaAdapterLib, sipXmediaLib) now do support wideband.  If you wish to
take a stab at widebandifying it, we'd appreciate it, as Alex and I are
focused on the mediaLib level.

I hard coded the playBuffer call you see the error on to pass in a sample
rate (new parameter, that comes just after the buffer length) of 8000Hz.
This should correct your issue.

On 2/26/08, Pedro Sanchez <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Trying to compile the latest sipXtapi from SVN I get the following
> error:
>
> .\src\cp\CpCall.cpp(321) : error C2664: 'CpMediaInterface::playBuffer' :
> cannot convert parameter 7 from 'OsProtectedEvent *' to 'UtlBoolean'
>
> The offending line is:
>
>     mpMediaInterface->playBuffer((char*)buffer,
>     bufSize, type, repeat, local, remote, ev);
>
> which is missing the third parameter bufRate. What should the fix be?
>
> Thanks,
>
>
> --
> Pedro
>
>
>
>
> _______________________________________________
> sipxtapi-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
>



-- 
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to