FreeCalypso > hg > sipout-test-utils
comparison test-fsk/user_cmd.c @ 4:030d52b96a23
test-fsk: implement SpanDSP Tx output
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 04 Mar 2024 22:08:19 -0800 |
parents | cc997f9ae186 |
children |
comparison
equal
deleted
inserted
replaced
3:cc997f9ae186 | 4:030d52b96a23 |
---|---|
51 return; | 51 return; |
52 if (!strcmp(cp, "b") || !strcasecmp(cp, "bye")) | 52 if (!strcmp(cp, "b") || !strcasecmp(cp, "bye")) |
53 send_bye_req(); | 53 send_bye_req(); |
54 else if (!strcmp(cp, "c") || !strcasecmp(cp, "cancel")) | 54 else if (!strcmp(cp, "c") || !strcasecmp(cp, "cancel")) |
55 send_cancel_req(); | 55 send_cancel_req(); |
56 else if (!strncmp(cp, "pcm-fill", 8) && isspace(cp[8])) | |
57 pcm_fill_cmd(cp + 9); | |
58 else | 56 else |
59 fprintf(stderr, "error: non-understood stdin command\n"); | 57 fprintf(stderr, "error: non-understood stdin command\n"); |
60 } | 58 } |