Try to tweak the probabilities prob of voice &prob of continue that you set to vad, in my case 80 90 helped for proper decisions, -----Original Message----- From: "Nhan Nguyen" <nhandt3 at gmail.com> Sent: ?29-?06-?2014 03:39 AM To: "speex-dev at xiph.org" <speex-dev at xiph.org> Subject: [Speex-dev] VAD always return 1 Hi All, I am trying to use VAD opption of speex encode on STM32F4 chip. But when I use speex_preprocess_run function, It allways return 1. Anyone can show me the problem? And please, give me an example about using VAD. Thanks in advance, Regards, Nhan. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20140629/461500e5/attachment.htm