ReactOS 0.4.16-dev-300-g2aadf2e
|
#include "samplerate.h"
Go to the source code of this file.
Classes | |
struct | SRC_PRIVATE_tag |
Macros | |
#define | SRC_MAX_RATIO 256 |
#define | SRC_MAX_RATIO_STR "256" |
#define | SRC_MIN_RATIO_DIFF (1e-20) |
#define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
#define | ARRAY_LEN(x) ((int) (sizeof (x) / sizeof ((x) [0]))) |
#define | OFFSETOF(type, member) ((int) (&((type*) 0)->member)) |
#define | MAKE_MAGIC(a, b, c, d, e, f) ((a) + ((b) << 4) + ((c) << 8) + ((d) << 12) + ((e) << 16) + ((f) << 20)) |
#define | UNUSED(x) x |
#define | WARN_UNUSED |
Typedefs | |
typedef struct SRC_PRIVATE_tag | SRC_PRIVATE |
Functions | |
const char * | sinc_get_name (int src_enum) |
const char * | sinc_get_description (int src_enum) |
int | sinc_set_converter (SRC_PRIVATE *psrc, int src_enum) |
const char * | linear_get_name (int src_enum) |
const char * | linear_get_description (int src_enum) |
int | linear_set_converter (SRC_PRIVATE *psrc, int src_enum) |
const char * | zoh_get_name (int src_enum) |
const char * | zoh_get_description (int src_enum) |
int | zoh_set_converter (SRC_PRIVATE *psrc, int src_enum) |
static double | fmod_one (double x) |
static int | is_bad_src_ratio (double ratio) |
typedef struct SRC_PRIVATE_tag SRC_PRIVATE |
anonymous enum |
Enumerator | |
---|---|
SRC_FALSE | |
SRC_TRUE | |
SRC_MODE_PROCESS | |
SRC_MODE_CALLBACK |
anonymous enum |
Definition at line 62 of file common.h.
Definition at line 143 of file common.h.
Referenced by linear_vari_process(), sinc_hex_vari_process(), sinc_mono_vari_process(), sinc_multichan_vari_process(), sinc_quad_vari_process(), sinc_stereo_vari_process(), and zoh_vari_process().
Definition at line 154 of file common.h.
Referenced by linear_vari_process(), sinc_hex_vari_process(), sinc_mono_vari_process(), sinc_multichan_vari_process(), sinc_quad_vari_process(), sinc_stereo_vari_process(), src_callback_read(), src_is_valid_ratio(), src_process(), src_set_ratio(), and zoh_vari_process().
Definition at line 146 of file src_linear.c.
Referenced by src_get_description().
Definition at line 137 of file src_linear.c.
Referenced by src_get_name().
int linear_set_converter | ( | SRC_PRIVATE * | psrc, |
int | src_enum | ||
) |
Definition at line 155 of file src_linear.c.
Referenced by psrc_set_converter().
Definition at line 113 of file src_sinc.c.
Referenced by src_get_description().
Definition at line 94 of file src_sinc.c.
Referenced by src_get_name().
int sinc_set_converter | ( | SRC_PRIVATE * | psrc, |
int | src_enum | ||
) |
Definition at line 133 of file src_sinc.c.
Referenced by psrc_set_converter().
Definition at line 137 of file src_zoh.c.
Referenced by src_get_description().
Definition at line 128 of file src_zoh.c.
Referenced by src_get_name().
int zoh_set_converter | ( | SRC_PRIVATE * | psrc, |
int | src_enum | ||
) |
Definition at line 146 of file src_zoh.c.
Referenced by psrc_set_converter().