SAL
A C++ library for spatial audio.
|
#include <sys/types.h>
Go to the source code of this file.
Classes | |
struct | SF_INFO |
struct | SF_FORMAT_INFO |
struct | SF_DITHER_INFO |
struct | SF_EMBED_FILE_INFO |
struct | SF_INSTRUMENT |
struct | SF_LOOP_INFO |
struct | SF_VIRTUAL_IO |
Macros | |
#define | SNDFILE_1 |
#define | SF_STR_FIRST SF_STR_TITLE |
#define | SF_STR_LAST SF_STR_LICENSE |
#define | SF_COUNT_MAX 0x7FFFFFFFFFFFFFFFLL |
#define | SF_BROADCAST_INFO_VAR(coding_hist_size) |
Typedefs | |
typedef struct SNDFILE_tag | SNDFILE |
typedef int64_t | sf_count_t |
typedef struct SF_INFO | SF_INFO |
typedef sf_count_t(* | sf_vio_get_filelen )(void *user_data) |
typedef sf_count_t(* | sf_vio_seek )(sf_count_t offset, int whence, void *user_data) |
typedef sf_count_t(* | sf_vio_read )(void *ptr, sf_count_t count, void *user_data) |
typedef sf_count_t(* | sf_vio_write )(const void *ptr, sf_count_t count, void *user_data) |
typedef sf_count_t(* | sf_vio_tell )(void *user_data) |
typedef struct SF_VIRTUAL_IO | SF_VIRTUAL_IO |
Functions | |
typedef | SF_BROADCAST_INFO_VAR (256) SF_BROADCAST_INFO |
SNDFILE * | sf_open (const char *path, int mode, SF_INFO *sfinfo) |
SNDFILE * | sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) |
SNDFILE * | sf_open_virtual (SF_VIRTUAL_IO *sfvirtual, int mode, SF_INFO *sfinfo, void *user_data) |
int | sf_error (SNDFILE *sndfile) |
const char * | sf_strerror (SNDFILE *sndfile) |
const char * | sf_error_number (int errnum) |
int | sf_perror (SNDFILE *sndfile) |
int | sf_error_str (SNDFILE *sndfile, char *str, size_t len) |
int | sf_command (SNDFILE *sndfile, int command, void *data, int datasize) |
int | sf_format_check (const SF_INFO *info) |
sf_count_t | sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence) |
int | sf_set_string (SNDFILE *sndfile, int str_type, const char *str) |
const char * | sf_get_string (SNDFILE *sndfile, int str_type) |
const char * | sf_version_string (void) |
sf_count_t | sf_read_raw (SNDFILE *sndfile, void *ptr, sf_count_t bytes) |
sf_count_t | sf_write_raw (SNDFILE *sndfile, const void *ptr, sf_count_t bytes) |
sf_count_t | sf_readf_short (SNDFILE *sndfile, short *ptr, sf_count_t frames) |
sf_count_t | sf_writef_short (SNDFILE *sndfile, const short *ptr, sf_count_t frames) |
sf_count_t | sf_readf_int (SNDFILE *sndfile, int *ptr, sf_count_t frames) |
sf_count_t | sf_writef_int (SNDFILE *sndfile, const int *ptr, sf_count_t frames) |
sf_count_t | sf_readf_float (SNDFILE *sndfile, float *ptr, sf_count_t frames) |
sf_count_t | sf_writef_float (SNDFILE *sndfile, const float *ptr, sf_count_t frames) |
sf_count_t | sf_readf_double (SNDFILE *sndfile, double *ptr, sf_count_t frames) |
sf_count_t | sf_writef_double (SNDFILE *sndfile, const double *ptr, sf_count_t frames) |
sf_count_t | sf_read_short (SNDFILE *sndfile, short *ptr, sf_count_t items) |
sf_count_t | sf_write_short (SNDFILE *sndfile, const short *ptr, sf_count_t items) |
sf_count_t | sf_read_int (SNDFILE *sndfile, int *ptr, sf_count_t items) |
sf_count_t | sf_write_int (SNDFILE *sndfile, const int *ptr, sf_count_t items) |
sf_count_t | sf_read_float (SNDFILE *sndfile, float *ptr, sf_count_t items) |
sf_count_t | sf_write_float (SNDFILE *sndfile, const float *ptr, sf_count_t items) |
sf_count_t | sf_read_double (SNDFILE *sndfile, double *ptr, sf_count_t items) |
sf_count_t | sf_write_double (SNDFILE *sndfile, const double *ptr, sf_count_t items) |
int | sf_close (SNDFILE *sndfile) |
void | sf_write_sync (SNDFILE *sndfile) |
#define SF_BROADCAST_INFO_VAR | ( | coding_hist_size | ) |
#define SF_COUNT_MAX 0x7FFFFFFFFFFFFFFFLL |
#define SF_STR_FIRST SF_STR_TITLE |
#define SF_STR_LAST SF_STR_LICENSE |
#define SNDFILE_1 |
typedef int64_t sf_count_t |
typedef sf_count_t(* sf_vio_get_filelen)(void *user_data) |
typedef sf_count_t(* sf_vio_read)(void *ptr, sf_count_t count, void *user_data) |
typedef sf_count_t(* sf_vio_seek)(sf_count_t offset, int whence, void *user_data) |
typedef sf_count_t(* sf_vio_tell)(void *user_data) |
typedef sf_count_t(* sf_vio_write)(const void *ptr, sf_count_t count, void *user_data) |
typedef struct SF_VIRTUAL_IO SF_VIRTUAL_IO |
typedef struct SNDFILE_tag SNDFILE |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
typedef SF_BROADCAST_INFO_VAR | ( | 256 | ) |
int sf_close | ( | SNDFILE * | sndfile | ) |
int sf_command | ( | SNDFILE * | sndfile, |
int | command, | ||
void * | data, | ||
int | datasize | ||
) |
int sf_error | ( | SNDFILE * | sndfile | ) |
const char* sf_error_number | ( | int | errnum | ) |
int sf_error_str | ( | SNDFILE * | sndfile, |
char * | str, | ||
size_t | len | ||
) |
int sf_format_check | ( | const SF_INFO * | info | ) |
const char* sf_get_string | ( | SNDFILE * | sndfile, |
int | str_type | ||
) |
SNDFILE* sf_open_virtual | ( | SF_VIRTUAL_IO * | sfvirtual, |
int | mode, | ||
SF_INFO * | sfinfo, | ||
void * | user_data | ||
) |
int sf_perror | ( | SNDFILE * | sndfile | ) |
sf_count_t sf_read_double | ( | SNDFILE * | sndfile, |
double * | ptr, | ||
sf_count_t | items | ||
) |
sf_count_t sf_read_float | ( | SNDFILE * | sndfile, |
float * | ptr, | ||
sf_count_t | items | ||
) |
sf_count_t sf_read_int | ( | SNDFILE * | sndfile, |
int * | ptr, | ||
sf_count_t | items | ||
) |
sf_count_t sf_read_raw | ( | SNDFILE * | sndfile, |
void * | ptr, | ||
sf_count_t | bytes | ||
) |
sf_count_t sf_read_short | ( | SNDFILE * | sndfile, |
short * | ptr, | ||
sf_count_t | items | ||
) |
sf_count_t sf_readf_double | ( | SNDFILE * | sndfile, |
double * | ptr, | ||
sf_count_t | frames | ||
) |
sf_count_t sf_readf_float | ( | SNDFILE * | sndfile, |
float * | ptr, | ||
sf_count_t | frames | ||
) |
sf_count_t sf_readf_int | ( | SNDFILE * | sndfile, |
int * | ptr, | ||
sf_count_t | frames | ||
) |
sf_count_t sf_readf_short | ( | SNDFILE * | sndfile, |
short * | ptr, | ||
sf_count_t | frames | ||
) |
sf_count_t sf_seek | ( | SNDFILE * | sndfile, |
sf_count_t | frames, | ||
int | whence | ||
) |
int sf_set_string | ( | SNDFILE * | sndfile, |
int | str_type, | ||
const char * | str | ||
) |
const char* sf_strerror | ( | SNDFILE * | sndfile | ) |
const char* sf_version_string | ( | void | ) |
sf_count_t sf_write_double | ( | SNDFILE * | sndfile, |
const double * | ptr, | ||
sf_count_t | items | ||
) |
sf_count_t sf_write_float | ( | SNDFILE * | sndfile, |
const float * | ptr, | ||
sf_count_t | items | ||
) |
sf_count_t sf_write_int | ( | SNDFILE * | sndfile, |
const int * | ptr, | ||
sf_count_t | items | ||
) |
sf_count_t sf_write_raw | ( | SNDFILE * | sndfile, |
const void * | ptr, | ||
sf_count_t | bytes | ||
) |
sf_count_t sf_write_short | ( | SNDFILE * | sndfile, |
const short * | ptr, | ||
sf_count_t | items | ||
) |
void sf_write_sync | ( | SNDFILE * | sndfile | ) |
sf_count_t sf_writef_double | ( | SNDFILE * | sndfile, |
const double * | ptr, | ||
sf_count_t | frames | ||
) |
sf_count_t sf_writef_float | ( | SNDFILE * | sndfile, |
const float * | ptr, | ||
sf_count_t | frames | ||
) |
sf_count_t sf_writef_int | ( | SNDFILE * | sndfile, |
const int * | ptr, | ||
sf_count_t | frames | ||
) |
sf_count_t sf_writef_short | ( | SNDFILE * | sndfile, |
const short * | ptr, | ||
sf_count_t | frames | ||
) |