From: "Kevin P. Fleming" <[EMAIL PROTECTED]>
> Sergio Garcia Murillo wrote:
>
> > I agree, but I think that it's a usually a good practice that the one
that
> > allocates
> > the memory is the reponsible of freeing it. What I don't really see is
why
> > the
> > apps need to call the ast_frfree on frames they have just readen.
>
> This makes no sense; once chan_sip has fed you a frame of audio data,
> why should it care who frees it, and more importantly, how could it
> possibly know that the frame is no longer needed?
>

Just changing your phrase:
This makes no sense; once my applicaton has fed you a frame of audio data,
why should it care who frees it, and more importantly, how could it
possibly know that the frame is no longer needed?

Best regards
Sergio




_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to