diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2016-03-25 13:58:16 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2016-03-27 17:56:04 +0200 |
commit | 1146537d849c30aa20a4cb742cdd18654f041a8d (patch) | |
tree | 9cdc0a47669fc5d4ece4c77972308a7f1de81048 /src/common/main.h | |
parent | 0aa749d27b1c95997a6e324694a7e624988faacc (diff) |
common code: Add feature to record received audio and replay it
-W <file.wav> writes a wave file of received audio
-R <file.wav> reads a wave file to feed into decoder
This way you can record a phone and later debug without a phone
and radio equipment.
Diffstat (limited to 'src/common/main.h')
-rw-r--r-- | src/common/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/main.h b/src/common/main.h index 54c4fe3..fc4f01f 100644 --- a/src/common/main.h +++ b/src/common/main.h @@ -8,6 +8,8 @@ extern int use_mncc_sock; extern int send_patterns; extern int loopback; extern int rt_prio; +extern const char *read_wave; +extern const char *write_wave; void print_help(const char *arg0); void print_help_common(const char *arg0, const char *ext_usage); |