void Speex_Encode(void)
{
Speex_EncodeCount++;
//memcpy(gInTemp, EnCodeBuf, 160*2);
/* Flush all the bits in the struct so we can encode a new frame */
speex_bits_reset(&bitsEncode);
/* Encode the frame */
speex_encode_int(enc_state, (spx_int16_t*)EnCodeBuf, &bitsEncode);
/* Copy the bits to an array of char that can be decoded */
speex_bits_write(&bitsEncode, (char *)OutBytes, ENCODED_FRAME_SIZE);
//±àÂë½áêøoóêí·ÅbitsEncodeoíenc_state
speex_bits_destroy (&bitsEncode);
speex_encoder_destroy (enc_state);
}