[Speex-dev] 回复: 回复: (no subject)

Denis Romashenko romius99 at mail.ru
Wed Dec 7 02:25:50 PST 2011


I think it will looks like:
void Encode(const char* infile, const char* outFile)
{
    void* st;
    SpeexBits bits;
    .....
    st = speex_encoder_init(mode);
    .....
    speex_encode_int(st, input, &bits);
    .....
    speex_bits_destroy(&bits);
    speex_encoder_destroy(st);
}

2011/12/7 Steve Checkoway <s at pahtak.org>

>
> On Dec 7, 2011, at 0:00 , Denis Romashenko wrote:
>
>  I'll try to explain. I want to create dll with only one function "Encode"
>> that will encode file to speex format. In my application I will use this
>> function from 16 threads, if it will work correct?
>>
>
>
> Surely that depends on the implementation of your Encode function. If you
> use different encoder state for each file you're encoding, it will work
> fine.
>
> --
> Steve Checkoway
>
>
>
>


-- 
Regards

denis.romashenko at retell.co.uk
DDI (UK) +44(0)1932 773846
DDI (Il) +972(0)722451373
Mobile (Il) +972(0)545549366
Switchboard (UK) +44(0)1932 779755
Fax (UK) +44(0)1932 780383
Visit us at www.retellrecorders.co.uk
Retell Ltd, 53 Thames Street, Sunbury on Thames, Middlesex, TW16 5QH
England. Company VAT No. GB819112250

Registered in England & Wales no. 4871004 Reg Office: Heathrow Business
Centre, 65 High Street, Egham, Surrey TW20 9EY
READ OUR TERMS AND CONDITIONS FOR OUR GOODS AND SERVICES available at
www.retellrecorders.co.uk/buy/terms.htm before purchase.
Please contact us if you do not wish to receive information about Retell's
extensive range of call recording equipment.

THIS TRANSMISSION IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR ENTITY
TO WHICH IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED,
CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. All
correspondence and agreement subject to contract. If you are not the
intended recipient or employee or agent responsible for delivering the
transmission to the intended recipient, please notify us by return.  Any
distribution or copying of this document by anyone other than the intended
recipient is strictly prohibited.  Retell cannot be held responsible for
any alterations made to this document, intentionally or otherwise after
transmission. We check all our mail and attachments for viruses using an up
to date virus checker, but we cannot guarantee that they are virus free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20111207/5762f2a6/attachment.htm 


More information about the Speex-dev mailing list