aboutsummaryrefslogtreecommitdiffstats
path: root/src/bnetz/bnetz.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2016-03-25 13:58:16 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2016-03-27 17:56:04 +0200
commit1146537d849c30aa20a4cb742cdd18654f041a8d (patch)
tree9cdc0a47669fc5d4ece4c77972308a7f1de81048 /src/bnetz/bnetz.h
parent0aa749d27b1c95997a6e324694a7e624988faacc (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/bnetz/bnetz.h')
-rw-r--r--src/bnetz/bnetz.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bnetz/bnetz.h b/src/bnetz/bnetz.h
index 3eed7c8..1d9ddd3 100644
--- a/src/bnetz/bnetz.h
+++ b/src/bnetz/bnetz.h
@@ -90,7 +90,7 @@ typedef struct bnetz {
double bnetz_kanal2freq(int kanal, int unterband);
int bnetz_init(void);
-int bnetz_create(const char *sounddev, int samplerate, int kanal, int gfs, int loopback, double loss_volume, const char *pilot);
+int bnetz_create(const char *sounddev, int samplerate, const char *write_wave, const char *read_wave, int kanal, int gfs, int loopback, double loss_volume, const char *pilot);
void bnetz_destroy(sender_t *sender);
void bnetz_loss_indication(bnetz_t *bnetz);
void bnetz_receive_tone(bnetz_t *bnetz, int bit);