#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "samplerate.h"
#include "float_cast.h"
#include "common.h"
Go to the source code of this file.
Functions |
| static int | psrc_set_converter (SRC_PRIVATE *psrc, int converter_type) |
| static int | is_bad_src_ratio (double ratio) |
| SRC_STATE * | src_new (int converter_type, int channels, int *error) |
| SRC_STATE * | src_callback_new (src_callback_t func, int converter_type, int channels, int *error, void *cb_data) |
| SRC_STATE * | src_delete (SRC_STATE *state) |
| int | src_process (SRC_STATE *state, SRC_DATA *data) |
| long | src_callback_read (SRC_STATE *state, double src_ratio, long frames, float *data) |
| int | src_set_ratio (SRC_STATE *state, double new_ratio) |
| int | src_reset (SRC_STATE *state) |
| const char * | src_get_name (int converter_type) |
| const char * | src_get_description (int converter_type) |
| const char * | src_get_version (void) |
| int | src_is_valid_ratio (double ratio) |
| int | src_error (SRC_STATE *state) |
| const char * | src_strerror (int error) |
| int | src_simple (SRC_DATA *src_data, int converter, int channels) |
| void | src_short_to_float_array (const short *in, float *out, int len) |
| void | src_float_to_short_array (const float *in, short *out, int len) |
| void | src_int_to_float_array (const int *in, float *out, int len) |
| void | src_float_to_int_array (const float *in, int *out, int len) |