search for: out_ascii

Displaying 2 results from an estimated 2 matches for "out_ascii".

2010 Sep 06
0
encode and decode
...ream> #include <stdio.h> #include "speex.h" #include "speex_bits.h" using namespace std; char hex2ascii(char toconv); #define FRAME_SIZE 160 #define nbBytes 20 int main(int argc, _TCHAR* argv[]) { int mode = 3; int i=0,j=0; char ch=0; int in=0,temp=0; char out_ascii[640]={0}; float output[FRAME_SIZE];//the originals 160 words in float short out[FRAME_SIZE];//the originals 160 words char cbits[nbBytes]; void *state;//hold the state of the decoder SpeexMode speex_nb_mode; SpeexBits bits; state=decoder_init_func(& speex_nb_mode);//initializing a speex...
2010 Sep 06
0
encoding on a ds'pic and decoding on a pc
...clude <iostream> #include <stdio.h> #include "speex.h" #include "speex_bits.h" using namespace std; char hex2ascii(char toconv); #define FRAME_SIZE 160 #define nbBytes 20 int main(int argc, _TCHAR* argv[]) { int mode = 3; int i=0,j=0; char ch=0; int in=0,temp=0; char out_ascii[640]={0}; float output[FRAME_SIZE];//the originals 160 words in float short out[FRAME_SIZE];//the originals 160 words char cbits[nbBytes]; void *state;//hold the state of the decoder SpeexMode speex_nb_mode; SpeexBits bits; state=decoder_init_func(& speex_nb_mode);//initializing a speex decoder...