RetroArch
Classes | Functions | Variables
dsp_filter.c File Reference
#include <stdlib.h>
#include <retro_miscellaneous.h>
#include <compat/posix_string.h>
#include <dynamic/dylib.h>
#include <file/file_path.h>
#include <file/config_file_userdata.h>
#include <features/features_cpu.h>
#include <lists/string_list.h>
#include <string/stdstring.h>
#include <libretro_dspfilter.h>
#include <audio/dsp_filter.h>
Include dependency graph for dsp_filter.c:

Classes

struct  retro_dsp_plug
 
struct  retro_dsp_instance
 
struct  retro_dsp_filter
 

Functions

static const struct dspfilter_implementationfind_implementation (retro_dsp_filter_t *dsp, const char *ident)
 
static bool create_filter_graph (retro_dsp_filter_t *dsp, float sample_rate)
 
retro_dsp_filter_tretro_dsp_filter_new (const char *filter_config, void *string_data, float sample_rate)
 
void retro_dsp_filter_free (retro_dsp_filter_t *dsp)
 
void retro_dsp_filter_process (retro_dsp_filter_t *dsp, struct retro_dsp_data *data)
 

Variables

static const struct dspfilter_config dspfilter_config
 

Function Documentation

◆ create_filter_graph()

static bool create_filter_graph ( retro_dsp_filter_t dsp,
float  sample_rate 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ find_implementation()

static const struct dspfilter_implementation* find_implementation ( retro_dsp_filter_t dsp,
const char *  ident 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_dsp_filter_free()

void retro_dsp_filter_free ( retro_dsp_filter_t dsp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_dsp_filter_new()

retro_dsp_filter_t* retro_dsp_filter_new ( const char *  filter_config,
void string_data,
float  sample_rate 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_dsp_filter_process()

void retro_dsp_filter_process ( retro_dsp_filter_t dsp,
struct retro_dsp_data data 
)
Here is the caller graph for this function:

Variable Documentation

◆ dspfilter_config

Initial value:
= {
}
int config_userdata_get_float(void *userdata, const char *key_str, float *value, float default_value)
Definition: config_file_userdata.c:28
int config_userdata_get_float_array(void *userdata, const char *key_str, float **values, unsigned *out_num_values, const float *default_values, unsigned num_default_values)
Definition: config_file_userdata.c:64
int config_userdata_get_string(void *userdata, const char *key_str, char **output, const char *default_output)
Definition: config_file_userdata.c:125
int config_userdata_get_int_array(void *userdata, const char *key_str, int **values, unsigned *out_num_values, const int *default_values, unsigned num_default_values)
Definition: config_file_userdata.c:95
int config_userdata_get_int(void *userdata, const char *key_str, int *value, int default_value)
Definition: config_file_userdata.c:46
void config_userdata_free(void *ptr)
Definition: config_file_userdata.c:145