Commit 43b68b22 authored by Guillaume Beraudo's avatar Guillaume Beraudo
Browse files

Fix unused variable in pasnd.

parent 0bf7097d
......@@ -112,14 +112,13 @@ int WaveInCallback( const void *inputBuffer, void *outputBuffer,
if (device->read_started)
int vad;
mblk_t *rm=NULL;
if (rm==NULL) rm=allocb(framesPerBuffer*2,0);
memcpy(rm->b_wptr,inputBuffer, framesPerBuffer*2);
if (device->pst!=NULL)
vad = speex_preprocess(device->pst, (spx_int16_t *)rm->b_wptr, NULL);
/*int vad =*/ speex_preprocess(device->pst, (spx_int16_t *)rm->b_wptr, NULL);
#if 0
if (vad!=1)
ms_message("WaveInCallback : %d", vad);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment