aboutsummaryrefslogtreecommitdiffstats
path: root/src/libsound/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsound/sound.h')
-rw-r--r--src/libsound/sound.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libsound/sound.h b/src/libsound/sound.h
new file mode 100644
index 0000000..71293c0
--- /dev/null
+++ b/src/libsound/sound.h
@@ -0,0 +1,10 @@
+
+enum paging_signal;
+
+void *sound_open(const char *audiodev, double *tx_frequency, double *rx_frequency, int channels, double paging_frequency, int samplerate, int latspl, double bandwidth, double sample_deviation);
+int sound_start(void *inst);
+void sound_close(void *inst);
+int sound_write(void *inst, sample_t **samples, uint8_t **power, int num, enum paging_signal *paging_signal, int *on, int channels);
+int sound_read(void *inst, sample_t **samples, int num, int channels, double *rf_level_db);
+int sound_get_tosend(void *inst, int latspl);
+