|
Classes |
| struct | SF_INFO |
| struct | SF_FORMAT_INFO |
| struct | SF_DITHER_INFO |
| struct | SF_EMBED_FILE_INFO |
| struct | SF_INSTRUMENT |
Defines |
| #define | SNDFILE_1 |
| #define | SF_COUNT_MAX 0x7FFFFFFFFFFFFFFFi64 |
Typedefs |
| typedef struct SNDFILE_tag | SNDFILE |
| typedef __int64 | sf_count_t |
| typedef struct SF_INFO | SF_INFO |
Enumerations |
| enum | {
SF_FORMAT_WAV = 0x010000,
SF_FORMAT_AIFF = 0x020000,
SF_FORMAT_AU = 0x030000,
SF_FORMAT_RAW = 0x040000,
SF_FORMAT_PAF = 0x050000,
SF_FORMAT_SVX = 0x060000,
SF_FORMAT_NIST = 0x070000,
SF_FORMAT_VOC = 0x080000,
SF_FORMAT_IRCAM = 0x0A0000,
SF_FORMAT_W64 = 0x0B0000,
SF_FORMAT_MAT4 = 0x0C0000,
SF_FORMAT_MAT5 = 0x0D0000,
SF_FORMAT_PVF = 0x0E0000,
SF_FORMAT_XI = 0x0F0000,
SF_FORMAT_HTK = 0x100000,
SF_FORMAT_SDS = 0x110000,
SF_FORMAT_AVR = 0x120000,
SF_FORMAT_WAVEX = 0x130000,
SF_FORMAT_PCM_S8 = 0x0001,
SF_FORMAT_PCM_16 = 0x0002,
SF_FORMAT_PCM_24 = 0x0003,
SF_FORMAT_PCM_32 = 0x0004,
SF_FORMAT_PCM_U8 = 0x0005,
SF_FORMAT_FLOAT = 0x0006,
SF_FORMAT_DOUBLE = 0x0007,
SF_FORMAT_ULAW = 0x0010,
SF_FORMAT_ALAW = 0x0011,
SF_FORMAT_IMA_ADPCM = 0x0012,
SF_FORMAT_MS_ADPCM = 0x0013,
SF_FORMAT_GSM610 = 0x0020,
SF_FORMAT_VOX_ADPCM = 0x0021,
SF_FORMAT_G721_32 = 0x0030,
SF_FORMAT_G723_24 = 0x0031,
SF_FORMAT_G723_40 = 0x0032,
SF_FORMAT_DWVW_12 = 0x0040,
SF_FORMAT_DWVW_16 = 0x0041,
SF_FORMAT_DWVW_24 = 0x0042,
SF_FORMAT_DWVW_N = 0x0043,
SF_FORMAT_DPCM_8 = 0x0050,
SF_FORMAT_DPCM_16 = 0x0051,
SF_ENDIAN_FILE = 0x00000000,
SF_ENDIAN_LITTLE = 0x10000000,
SF_ENDIAN_BIG = 0x20000000,
SF_ENDIAN_CPU = 0x30000000,
SF_FORMAT_SUBMASK = 0x0000FFFF,
SF_FORMAT_TYPEMASK = 0x0FFF0000,
SF_FORMAT_ENDMASK = 0x30000000
} |
| enum | {
SFC_GET_LIB_VERSION = 0x1000,
SFC_GET_LOG_INFO = 0x1001,
SFC_GET_NORM_DOUBLE = 0x1010,
SFC_GET_NORM_FLOAT = 0x1011,
SFC_SET_NORM_DOUBLE = 0x1012,
SFC_SET_NORM_FLOAT = 0x1013,
SFC_GET_SIMPLE_FORMAT_COUNT = 0x1020,
SFC_GET_SIMPLE_FORMAT = 0x1021,
SFC_GET_FORMAT_INFO = 0x1028,
SFC_GET_FORMAT_MAJOR_COUNT = 0x1030,
SFC_GET_FORMAT_MAJOR = 0x1031,
SFC_GET_FORMAT_SUBTYPE_COUNT = 0x1032,
SFC_GET_FORMAT_SUBTYPE = 0x1033,
SFC_CALC_SIGNAL_MAX = 0x1040,
SFC_CALC_NORM_SIGNAL_MAX = 0x1041,
SFC_CALC_MAX_ALL_CHANNELS = 0x1042,
SFC_CALC_NORM_MAX_ALL_CHANNELS = 0x1043,
SFC_SET_ADD_PEAK_CHUNK = 0x1050,
SFC_UPDATE_HEADER_NOW = 0x1060,
SFC_SET_UPDATE_HEADER_AUTO = 0x1061,
SFC_FILE_TRUNCATE = 0x1080,
SFC_SET_RAW_START_OFFSET = 0x1090,
SFC_SET_DITHER_ON_WRITE = 0x10A0,
SFC_SET_DITHER_ON_READ = 0x10A1,
SFC_GET_DITHER_INFO_COUNT = 0x10A2,
SFC_GET_DITHER_INFO = 0x10A3,
SFC_GET_EMBED_FILE_INFO = 0x10B0,
SFC_SET_CLIPPING = 0x10C0,
SFC_GET_CLIPPING = 0x10C1,
SFC_GET_INSTRUMENT = 0x10D0,
SFC_SET_INSTRUMENT = 0x10D1,
SFC_TEST_IEEE_FLOAT_REPLACE = 0x6001,
SFC_SET_ADD_DITHER_ON_WRITE = 0x1070,
SFC_SET_ADD_DITHER_ON_READ = 0x1071
} |
| enum | {
SF_STR_TITLE = 0x01,
SF_STR_COPYRIGHT = 0x02,
SF_STR_SOFTWARE = 0x03,
SF_STR_ARTIST = 0x04,
SF_STR_COMMENT = 0x05,
SF_STR_DATE = 0x06
} |
| enum | {
SF_FALSE = 0,
SF_TRUE = 1,
SFM_READ = 0x10,
SFM_WRITE = 0x20,
SFM_RDWR = 0x30
} |
| enum | { SF_ERR_NO_ERROR = 0,
SF_ERR_UNRECOGNISED_FORMAT = 1,
SF_ERR_SYSTEM = 2
} |
| enum | {
SFD_DEFAULT_LEVEL = 0,
SFD_CUSTOM_LEVEL = 0x40000000,
SFD_NO_DITHER = 500,
SFD_WHITE = 501,
SFD_TRIANGULAR_PDF = 502
} |
| enum | { SF_LOOP_NONE = 800,
SF_LOOP_FORWARD,
SF_LOOP_BACKWARD
} |
Functions |
| 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) |
| 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) |
| sf_count_t | sf_read_raw (SNDFILE *sndfile, void *ptr, sf_count_t bytes) |
| sf_count_t | sf_write_raw (SNDFILE *sndfile, 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, 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, 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, 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, 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, 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, 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, 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, double *ptr, sf_count_t items) |
| int | sf_close (SNDFILE *sndfile) |