search for: tempsound

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

2004 Aug 06
2
Please 30 second to look a my code
...InBuffer[FRAME_SIZE]; char OutBuffer[200]; char waveheader[WAVEHEADER]; HANDLE WaveFile; HANDLE SpeexFile; DWORD NrOfBytesRead, NrOfBytesWritten; char nrBytes = 0; int nbBytes = 0; int bit_rate, frame_size, test=0; bool first=true; WaveFile = CreateFile(_T("\\Temp\\tempsound.wav"), GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); SpeexFile = CreateFile(_T("\\Temp\\tempsound.spx"), GENERIC_WRITE, 0, NULL,CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); speex_bits_init(&bits); //init encoded bits buffer state = speex_encoder_init...
2004 Aug 06
0
Please 30 second to look a my code
...der[WAVEHEADER]; > > HANDLE WaveFile; > HANDLE SpeexFile; > > DWORD NrOfBytesRead, NrOfBytesWritten; > > char nrBytes = 0; > int nbBytes = 0; > int bit_rate, frame_size, test=0; > bool first=true; > > WaveFile = CreateFile(_T("\\Temp\\tempsound.wav"), GENERIC_READ, 0, > NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); > SpeexFile = CreateFile(_T("\\Temp\\tempsound.spx"), GENERIC_WRITE, 0, > NULL,CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); > > speex_bits_init(&bits); //init encoded bits buffer &g...