Displaying 7 results from an estimated 7 matches for "romius99".
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
http://lists.xiph.org/mai...
2011 Dec 06
1
回复: (no subject)
...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...
2011 Dec 07
1
回复: 回复: 回复: (no subject)
...when one thread use encode,the others wait for.
in java, i think we can do like 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 crea...
2011 Dec 06
2
回复: 回复: (no subject)
...s. 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?
>>
>> _____________________________________________...
2011 Dec 07
0
回复: 回复: (no subject)
...fferent 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?
> >>
> >> ______...
2011 Nov 28
1
Speex stereo encoding
Hi.
I trying to encode PCM16 8000Hz stereo data to speex and put it into the .flv file format. But at the output I can hear only noise. What I doing wrong? Here is the code:
void main()
{
SpeexBits bits;
void *enc_state;
int frame_size;
int quality = 10;
char cbits[MAX_FRAME_BYTES];
FILE *fin, *speex;
short input[MAX_FRAME_SIZE];
int nbBytes;
int channels =
2011 Dec 07
0
回复: 回复: (no subject)
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