Commit b2ad8c3b authored by Simon Morlat's avatar Simon Morlat

fix windows mingw build

parent d67d0020
......@@ -73,18 +73,18 @@ int main(int argc, char *argv[]){
ms_filter_call_method(det,MS_TONE_DETECTOR_ADD_SCAN,&expected_tone);
ms_filter_call_method(gen,MS_DTMF_GEN_PLAY,&dtmf);
sleep(1);
ms_sleep(1);
ms_filter_call_method(gen,MS_DTMF_GEN_PLAY_CUSTOM,&tone);
sleep(1);
ms_sleep(1);
ms_filter_call_method(gen,MS_DTMF_GEN_PLAY_CUSTOM,&tone);
sleep(1);
ms_sleep(1);
ms_filter_call_method(gen,MS_DTMF_GEN_PLAY_CUSTOM,&tone);
sleep(1);
ms_sleep(1);
tone.frequency=1500;
tone.amplitude=1.0;
ms_filter_call_method(gen,MS_DTMF_GEN_PLAY_CUSTOM,&tone);
sleep(1);
ms_sleep(1);
}
ms_filter_call_method_noarg(rec,MS_FILE_REC_CLOSE);
......
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