comparison test-voice/user_cmd.c @ 13:059b79c9f0c3

sipout-test-voice: add DMW output mode
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Apr 2024 17:09:32 -0800
parents 35c0d9f03c0a
children f96153d15889
comparison
equal deleted inserted replaced
12:372be50488d6 13:059b79c9f0c3
91 send_bye_req(); 91 send_bye_req();
92 else if (!strcmp(cp, "c") || !strcasecmp(cp, "cancel")) 92 else if (!strcmp(cp, "c") || !strcasecmp(cp, "cancel"))
93 send_cancel_req(); 93 send_cancel_req();
94 else if (!strncmp(cp, "pcm-fill", 8) && isspace(cp[8])) 94 else if (!strncmp(cp, "pcm-fill", 8) && isspace(cp[8]))
95 pcm_fill_cmd(cp + 9); 95 pcm_fill_cmd(cp + 9);
96 else if (!strcmp(cp, "dmw-on"))
97 cmd_dmw_on();
98 else if (!strcmp(cp, "dmw-off"))
99 cmd_dmw_off();
96 else if (!strncmp(cp, "tfo-req", 7) && isspace(cp[7])) 100 else if (!strncmp(cp, "tfo-req", 7) && isspace(cp[7]))
97 tfo_req_cmd(cp + 8); 101 tfo_req_cmd(cp + 8);
98 else if (!strcmp(cp, "tfo-stop")) 102 else if (!strcmp(cp, "tfo-stop"))
99 stop_tfo_out(); 103 stop_tfo_out();
100 else 104 else