RetroArch
Classes | Macros | Functions | Variables
tremolo.c File Reference
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <retro_miscellaneous.h>
#include <libretro_dspfilter.h>
#include <string/stdstring.h>
Include dependency graph for tremolo.c:

Classes

struct  tremolo_core
 
struct  tremolo
 

Macros

#define sqr(a)   ((a) * (a))
 

Functions

static void tremolo_free (void *data)
 
static void tremolocore_init (struct tremolo_core *core, float depth, int samplerate, float freq)
 
float tremolocore_core (struct tremolo_core *core, float in)
 
static void tremolo_process (void *data, struct dspfilter_output *output, const struct dspfilter_input *input)
 
static voidtremolo_init (const struct dspfilter_info *info, const struct dspfilter_config *config, void *userdata)
 
const struct dspfilter_implementationdspfilter_get_implementation (dspfilter_simd_mask_t mask)
 

Variables

static const struct dspfilter_implementation tremolo_plug
 

Macro Definition Documentation

◆ sqr

#define sqr (   a)    ((a) * (a))

Function Documentation

◆ dspfilter_get_implementation()

const struct dspfilter_implementation* dspfilter_get_implementation ( dspfilter_simd_mask_t  mask)
Here is the call graph for this function:

◆ tremolo_free()

static void tremolo_free ( void data)
static
Here is the call graph for this function:

◆ tremolo_init()

static void* tremolo_init ( const struct dspfilter_info info,
const struct dspfilter_config config,
void userdata 
)
static
Here is the call graph for this function:

◆ tremolo_process()

static void tremolo_process ( void data,
struct dspfilter_output output,
const struct dspfilter_input input 
)
static
Here is the call graph for this function:

◆ tremolocore_core()

float tremolocore_core ( struct tremolo_core core,
float  in 
)
Here is the caller graph for this function:

◆ tremolocore_init()

static void tremolocore_init ( struct tremolo_core core,
float  depth,
int  samplerate,
float  freq 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ tremolo_plug

const struct dspfilter_implementation tremolo_plug
static
Initial value:
= {
"Tremolo",
"tremolo",
}
static void tremolo_free(void *data)
Definition: tremolo.c:47
static void tremolo_process(void *data, struct dspfilter_output *output, const struct dspfilter_input *input)
Definition: tremolo.c:77
#define DSPFILTER_API_VERSION
Definition: libretro_dspfilter.h:61
static void * tremolo_init(const struct dspfilter_info *info, const struct dspfilter_config *config, void *userdata)
Definition: tremolo.c:97