libsstvenc
Asynchronous Analogue SSTV encoder
Loading...
Searching...
No Matches
sunau.h File Reference
#include <errno.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
Include dependency graph for sunau.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sstvenc_sunau
 

Macros

#define SSTVENC_SUNAU_FMT_S8   (0x02u)
 
#define SSTVENC_SUNAU_FMT_S16   (0x03u)
 
#define SSTVENC_SUNAU_FMT_S32   (0x05u)
 
#define SSTVENC_SUNAU_FMT_F32   (0x06u)
 
#define SSTVENC_SUNAU_FMT_F64   (0x07u)
 

Functions

int sstvenc_sunau_check (uint32_t sample_rate, uint8_t encoding, uint8_t channels)
 
int sstvenc_sunau_enc_init_fh (struct sstvenc_sunau *const enc, FILE *fh, uint32_t sample_rate, uint8_t encoding, uint8_t channels)
 
int sstvenc_sunau_enc_init (struct sstvenc_sunau *const enc, const char *path, uint32_t sample_rate, uint8_t encoding, uint8_t channels)
 
int sstvenc_sunau_enc_write (struct sstvenc_sunau *const enc, size_t n_samples, const double *samples)
 
int sstvenc_sunau_enc_close (struct sstvenc_sunau *const enc)
 
int sstvenc_sunau_dec_init_fh (struct sstvenc_sunau *const dec, FILE *fh)
 
int sstvenc_sunau_dec_init (struct sstvenc_sunau *const dec, const char *path)
 
int sstvenc_sunau_dec_read (struct sstvenc_sunau *const enc, size_t *const n_samples, double *samples)
 
int sstvenc_sunau_dec_close (struct sstvenc_sunau *const dec)