Displaying 4 results from an estimated 4 matches for "temp_buff".
Did you mean:
temp_buf
2005 Sep 22
1
Noise :-(
Hi all,
i use speex preprocessor features in this way:
===================================
#define NN 160 /* 20msec di audio */
...
int tbc=0,c,d,ret;
spx_int16_t TEMP_Buffer[NN];
char DLECODE;
/* Inizializza il preprocessore Speex se non inizializzato */
if(Modem->speex_pp_state == NULL) {
Modem->speex_pp_state = speex_preprocess_state_init(NN,AUDIO_SAMPLERATE);
}
/* Modifica i parametri di Speex */
c = Modem->denoise;
speex_prep...
2005 Oct 11
1
noise when passing trougth speex_preprocess
Hi all,
as in subject, speex_preprocess inject noise in my data. Someone can help ?
Here's the way that i'm using:
#define NN 160 /* 20msec di audio */
#define AUDIO_SAMPLERATE 8000
spx_int16_t TEMP_Buffer[NN];
speex_pp_state = speex_preprocess_state_init(NN,AUDIO_SAMPLERATE);
c = denoise;
speex_preprocess_ctl(speex_pp_state, SPEEX_PREPROCESS_SET_DENOISE,&c);
c = agc;
speex_preprocess_ctl(speex_pp_state, SPEEX_PREPROCESS_SET_AGC, &c);
if(agc) {
float t;
t = agc_level * 3276;
speex_preproces...
2004 Aug 06
0
Speex wrapper functions for Visual Basic
...rray.
Here are my first steps but it don´t work and i don´t come forward. Hopefully someone can help me!
CALL int __stdcall EncodeSpeexFrame (float *input_frame, unsigned char *output_bytes, int input_size)
{
int MAX_NB_BYTES, nbBytes;
char *output_buffer;
unsigned char *temp_buffer;
float *input_buffer;
input_buffer = new float (input_size);
input_buffer = input_frame;
speex_bits_reset(&enc_bits);
speex_encode(enc_state, input_buffer, &enc_bits);
delete input_buffer;
MAX_NB_BYTES = speex_bits_nbytes(&...
2005 Aug 16
1
ov_raw_tell() not working properly!
...ov_raw_tell() and ov_raw_seek() because the
documentation says they are the best when speed is a
concern.
but the problem is that sometimes ov_raw_tell returns
the same value before and after calling ov_read;
here's an example:
prevPos = ov_raw_tell(&vf);
const long ret = ov_read(&vf, temp_buffer, 4096, 0,
bytesPerSample, 1, ¤t_section);
currentPos = ov_raw_tell(&vf);
now, if I check, I'll find that prevPos == currentPos,
how could this be true??
I tried the other seeking methods, which are time and
pcm, and none of the did the same, prevPos is never
equal to currentPos...