diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2021-03-13 17:10:08 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2021-03-21 09:03:06 +0100 |
commit | f90f421b165c7880cd88db8795f00073dd768f60 (patch) | |
tree | 1b2c56ae0d2b8b463bb7999229c63b303c64926b /src/libsound/sound.h | |
parent | 72b0d35e6c52a13f133e26b74b2414cf94fbc8e8 (diff) |
Add libs
Diffstat (limited to 'src/libsound/sound.h')
-rw-r--r-- | src/libsound/sound.h | 10 |
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..6440a3c --- /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 *am, int channels, double paging_frequency, int samplerate, int latspl, double max_deviation, double max_modulation, double modulation_index); +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); + |