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

Jean-Marc Valin jmvalin at jmvalin.ca
Mon Dec 5 23:24:00 PST 2011


Well, please explain what you would expect from a "thread safe" codec
when you encode two frames at a time from the same encoder.

	Jean-Marc

On 11-12-05 11:56 PM, 烂馍馍. wrote:
> yes, you are right.but its not one instance of codec.
>  
>  
> ------------------ 原始邮件 ------------------
> *发件人:* "Jean-Marc Valin"<jmvalin at jmvalin.ca>;
> *发送时间:* 2011年12月6日(星期二) 中午12:52
> *收件人:* "speex-dev"<speex-dev at xiph.org>;
> *主题:* Re: [Speex-dev] (no subject)
>  
> Actually, it *is* thread safe as long as you don't use the *same* state
> at the same time from two calls. i.e. you can easily encode two
> different streams from two different threads.
> 
> Jean-Marc
> 
> On 11-12-01 04:55 AM, 烂馍馍. wrote:
>> it.s not safe.
>> 
>> 
>> ------------------ Original ------------------
>> *From: * "Денис Ромашенко"<romius99 at mail.ru>;
>> *Date: * Thu, Dec 1, 2011 04:43 PM
>> *To: * "speex-dev"<speex-dev at xiph.org>;
>> *Subject: * [Speex-dev] (no subject)
>> 
>> Hi.
>>  Is the speexlib thread safe?
>>
>> _______________________________________________
>> Speex-dev mailing list
>> Speex-dev at xiph.org
>> http://lists.xiph.org/mailman/listinfo/speex-dev
>>
>>
>>
>> _______________________________________________
>> Speex-dev mailing list
>> Speex-dev at xiph.org
>> http://lists.xiph.org/mailman/listinfo/speex-dev
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev


More information about the Speex-dev mailing list