diff 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
line wrap: on
line diff
--- a/test-voice/user_cmd.c	Mon Mar 11 12:45:09 2024 -0800
+++ b/test-voice/user_cmd.c	Sun Apr 07 17:09:32 2024 -0800
@@ -93,6 +93,10 @@
 		send_cancel_req();
 	else if (!strncmp(cp, "pcm-fill", 8) && isspace(cp[8]))
 		pcm_fill_cmd(cp + 9);
+	else if (!strcmp(cp, "dmw-on"))
+		cmd_dmw_on();
+	else if (!strcmp(cp, "dmw-off"))
+		cmd_dmw_off();
 	else if (!strncmp(cp, "tfo-req", 7) && isspace(cp[7]))
 		tfo_req_cmd(cp + 8);
 	else if (!strcmp(cp, "tfo-stop"))