[asterisk-dev] gsmtolin translator seems miss frameout function.

John Wu jwjohn0 at gmail.com
Thu Sep 16 01:45:45 CDT 2010


gsmtolin define as:

static struct ast_translator gsmtolin = {
    .name = "gsmtolin",
    .srcfmt = AST_FORMAT_GSM,
    .dstfmt = AST_FORMAT_SLINEAR,
    .newpvt = gsm_new,
    .framein = gsmtolin_framein,
    .destroy = gsm_destroy_stuff,
    .sample = gsm_sample,
    .buffer_samples = BUFFER_SAMPLES,
    .buf_size = BUFFER_SAMPLES * 2,
    .desc_size = sizeof (struct gsm_translator_pvt ),
};

I can't find the function pointer frameout be set. Will this actually work?
I doubt it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100916/28e521d4/attachment.htm 


More information about the asterisk-dev mailing list