search for: speex_mode

Displaying 4 results from an estimated 4 matches for "speex_mode".

2005 Jun 22
1
Newbie - Encoding PCM
...ts_insert_terminator(&IDA->speex_bits); d = speex_bits_write(&IDA->speex_bits, buffer, 200); *buffer += d; ret += d; d = 0; } } return ret; } int SPEEX_Init(struct _IDA_ClientSocket *IDA) { /* speex_init_header(&IDA->speex_header,8000,1,IDA->speex_mode); */ IDA->speex_mode = speex_lib_get_mode(SPEEX_MODEID_NB); speex_bits_init(&IDA->speex_bits); IDA->speex_state = speex_encoder_init(IDA->speex_mode); } int SPEEX_Close(struct _IDA_ClientSocket *IDA) { speex_bits_destroy(&IDA->speex_bits); speex_encoder_...
2010 Jul 20
2
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
As for me - speex_echo_cancellation is a better choise. Try using it in capture thread instead of those speex_echo_capture and speex_echo_playback functions. And please, describe your problem in details. Cause the fact that you "didn get echo cancellation" doesn't mean you are doing smth wrong. Regards, Anton A. Shpakovsky -----Original Message----- From: speex-dev-bounces at
2010 Jul 20
0
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
...In CAudiosrc class i am calling waveInOpen(&hWaveIn, WAVE_MAPPER, &format,m_ThreadID,NULL, CALLBACK_THREAD); ON_THREAD_MESSAGE(MM_WIM_DATA, OnWaveInFun) In CAudiosrc ::OnWaveInFun() i am calling speex_echo_capture,speex_preprocess_run,speex_encode_int. void CspxEnDe::Init(int mode) { speex_mode = mode; initialized = 1; speex_bits_init(&bits); int hz = 16000; // 8khz sampling if (speex_mode == SPEEX_MODE_ENCODE) { const SpeexMode * mode = speex_lib_get_mode (SPEEX_MODEID_WB); enc_state = speex_encoder_init(mode); // For Wideband speex_wb_mode ,Narrowband speex_nb_mode...
2010 Jul 20
1
[BombData][alltestmode] Re: [SPAM] [BombData][alltestmode] Re: Speex EchoCancellation
...In CAudiosrc class i am calling waveInOpen(&hWaveIn, WAVE_MAPPER, &format,m_ThreadID,NULL, CALLBACK_THREAD); ON_THREAD_MESSAGE(MM_WIM_DATA, OnWaveInFun) In CAudiosrc ::OnWaveInFun() i am calling speex_echo_capture,speex_preprocess_run,speex_encode_int. void CspxEnDe::Init(int mode) { speex_mode = mode; initialized = 1; speex_bits_init(&bits); int hz = 16000; // 8khz sampling if (speex_mode == SPEEX_MODE_ENCODE) { const SpeexMode * mode = speex_lib_get_mode (SPEEX_MODEID_WB); enc_state = speex_encoder_init(mode); // For Wideband speex_wb_mode ,Narrowband speex_nb_mode...