Displaying 5 results from an estimated 5 matches for "xialonghua".
2011 Dec 07
1
回复: 回复: 回复: (no subject)
...this:
synchronized (Encode) {
Encode.encode(short[] in, byte[] out);
}
In the doc of speex: it says the speex is not thread-safe.
------------------ ???? ------------------
???: "????? ?????????"<romius99 at mail.ru>;
????: 2011?12?7?(???) ??4:00
???: "???."<xialonghua at vip.qq.com>;
??: "Jean-Marc Valin"<jmvalin at jmvalin.ca>; "speex-dev"<speex-dev at xiph.org>;
??: Re: [Speex-dev] ??? ??? (no subject)
I'll try to explain. I want to create dll with only one function "Encode" that will encode file to speex f...
2011 Dec 06
2
回复: 回复: (no subject)
...rong if not Handling thread synchronization.
if not use same state, it need more memory, but no need to consider thread safe.
------------------ ???? ------------------
???: "Jean-Marc Valin"<jmvalin at jmvalin.ca>;
????: 2011?12?6?(???) ??3:24
???: ""???.""<xialonghua at vip.qq.com>;
??: "speex-dev"<speex-dev at xiph.org>;
??: Re: ??? [Speex-dev] (no subject)
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, ???. wr...
2011 Dec 07
0
回复: 回复: (no subject)
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?
2011/12/6 ???. <xialonghua at vip.qq.com>
>
> **
> two thread send frames to only encoder at same time,two thread will use
> one buffer
> .it will work wrong if not Handling thread synchronization.
> if not use same state, it need more memory, but no need to consider thread
> safe.
>
> -------...
2011 Dec 01
1
(no subject)
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
2011 Dec 06
1
回复: (no subject)
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.