ardour
Macros | Functions | Variables
sndfile_helpers.h File Reference
#include <string>
#include <stdint.h>
#include "ardour/types.h"

Go to the source code of this file.

Macros

#define SNDFILE_STR_LENGTH   32
 
#define SNDFILE_HEADER_FORMATS   7
 
#define SNDFILE_BITDEPTH_FORMATS   5
 
#define SNDFILE_ENDIAN_FORMATS   2
 

Functions

int sndfile_bitdepth_format_by_index (int)
 
int sndfile_header_format_by_index (int)
 
int sndfile_endian_format_by_index (int)
 
int sndfile_data_width (int format)
 
std::string sndfile_major_format (int)
 
std::string sndfile_minor_format (int)
 

Variables

const char *const sndfile_header_formats_strings [SNDFILE_HEADER_FORMATS+1]
 
const char *const sndfile_file_endings_strings [SNDFILE_HEADER_FORMATS+1]
 
int sndfile_header_formats [SNDFILE_HEADER_FORMATS]
 
const char *const sndfile_bitdepth_formats_strings [SNDFILE_BITDEPTH_FORMATS+1]
 
int sndfile_bitdepth_formats [SNDFILE_BITDEPTH_FORMATS]
 
const char *const sndfile_endian_formats_strings [SNDFILE_ENDIAN_FORMATS+1]
 
int sndfile_endian_formats [SNDFILE_ENDIAN_FORMATS]
 

Macro Definition Documentation

#define SNDFILE_BITDEPTH_FORMATS   5

Definition at line 37 of file sndfile_helpers.h.

#define SNDFILE_ENDIAN_FORMATS   2

Definition at line 42 of file sndfile_helpers.h.

#define SNDFILE_HEADER_FORMATS   7

Definition at line 31 of file sndfile_helpers.h.

#define SNDFILE_STR_LENGTH   32

Definition at line 29 of file sndfile_helpers.h.

Function Documentation

int sndfile_bitdepth_format_by_index ( int  )

Definition at line 103 of file sndfile_helpers.cc.

int sndfile_data_width ( int  format)

Definition at line 121 of file sndfile_helpers.cc.

int sndfile_endian_format_by_index ( int  )

Definition at line 112 of file sndfile_helpers.cc.

int sndfile_header_format_by_index ( int  )

Definition at line 94 of file sndfile_helpers.cc.

std::string sndfile_major_format ( int  )

Definition at line 144 of file sndfile_helpers.cc.

std::string sndfile_minor_format ( int  )

Definition at line 179 of file sndfile_helpers.cc.

Variable Documentation

int sndfile_bitdepth_formats[SNDFILE_BITDEPTH_FORMATS]

Definition at line 74 of file sndfile_helpers.cc.

const char* const sndfile_bitdepth_formats_strings[SNDFILE_BITDEPTH_FORMATS+1]

Definition at line 65 of file sndfile_helpers.cc.

int sndfile_endian_formats[SNDFILE_ENDIAN_FORMATS]

Definition at line 88 of file sndfile_helpers.cc.

const char* const sndfile_endian_formats_strings[SNDFILE_ENDIAN_FORMATS+1]

Definition at line 82 of file sndfile_helpers.cc.

const char* const sndfile_file_endings_strings[SNDFILE_HEADER_FORMATS+1]

Definition at line 44 of file sndfile_helpers.cc.

int sndfile_header_formats[SNDFILE_HEADER_FORMATS]

Definition at line 55 of file sndfile_helpers.cc.

const char* const sndfile_header_formats_strings[SNDFILE_HEADER_FORMATS+1]

Definition at line 33 of file sndfile_helpers.cc.