LMMS
Loading...
Searching...
No Matches
tap_eq.c File Reference
#include <stdlib.h>
#include <string.h>
#include <ladspa.h>
#include "tap_platform.h"
#include "tap_utils.h"

Classes

struct  eq

Macros

#define ID_MONO   2141
#define BWIDTH   1.0f
#define EQ_CH0G   0
#define EQ_CH1G   1
#define EQ_CH2G   2
#define EQ_CH3G   3
#define EQ_CH4G   4
#define EQ_CH5G   5
#define EQ_CH6G   6
#define EQ_CH7G   7
#define EQ_CH0F   8
#define EQ_CH1F   9
#define EQ_CH2F   10
#define EQ_CH3F   11
#define EQ_CH4F   12
#define EQ_CH5F   13
#define EQ_CH6F   14
#define EQ_CH7F   15
#define EQ_INPUT   16
#define EQ_OUTPUT   17
#define PORTCOUNT_MONO   18

Functions

const LADSPA_Descriptorladspa_descriptor (unsigned long index)
static void activate_eq (LADSPA_Handle instance)
static void cleanup_eq (LADSPA_Handle instance)
static void connectPort_eq (LADSPA_Handle instance, unsigned long port, LADSPA_Data *data)
static LADSPA_Handle instantiate_eq (const LADSPA_Descriptor *descriptor, unsigned long s_rate)
static void run_eq (LADSPA_Handle instance, unsigned long sample_count)
void set_run_adding_gain (LADSPA_Handle instance, LADSPA_Data gain)
static void run_adding_eq (LADSPA_Handle instance, unsigned long sample_count)
void __CONSTRUCTOR tap_init ()
void __DESTRUCTOR tap_fini ()
 __INIT_FINI (tap_init, tap_fini)

Variables

static LADSPA_DescriptoreqDescriptor = NULL

Macro Definition Documentation

◆ BWIDTH

#define BWIDTH   1.0f

◆ EQ_CH0F

#define EQ_CH0F   8

◆ EQ_CH0G

#define EQ_CH0G   0

◆ EQ_CH1F

#define EQ_CH1F   9

◆ EQ_CH1G

#define EQ_CH1G   1

◆ EQ_CH2F

#define EQ_CH2F   10

◆ EQ_CH2G

#define EQ_CH2G   2

◆ EQ_CH3F

#define EQ_CH3F   11

◆ EQ_CH3G

#define EQ_CH3G   3

◆ EQ_CH4F

#define EQ_CH4F   12

◆ EQ_CH4G

#define EQ_CH4G   4

◆ EQ_CH5F

#define EQ_CH5F   13

◆ EQ_CH5G

#define EQ_CH5G   5

◆ EQ_CH6F

#define EQ_CH6F   14

◆ EQ_CH6G

#define EQ_CH6G   6

◆ EQ_CH7F

#define EQ_CH7F   15

◆ EQ_CH7G

#define EQ_CH7G   7

◆ EQ_INPUT

#define EQ_INPUT   16

◆ EQ_OUTPUT

#define EQ_OUTPUT   17

◆ ID_MONO

#define ID_MONO   2141

◆ PORTCOUNT_MONO

#define PORTCOUNT_MONO   18

Function Documentation

◆ __INIT_FINI()

__INIT_FINI ( tap_init ,
tap_fini  )

◆ activate_eq()

void activate_eq ( LADSPA_Handle instance)
static

◆ cleanup_eq()

void cleanup_eq ( LADSPA_Handle instance)
static

◆ connectPort_eq()

void connectPort_eq ( LADSPA_Handle instance,
unsigned long port,
LADSPA_Data * data )
static

◆ instantiate_eq()

LADSPA_Handle instantiate_eq ( const LADSPA_Descriptor * descriptor,
unsigned long s_rate )
static

◆ ladspa_descriptor()

const LADSPA_Descriptor * ladspa_descriptor ( unsigned long index)

◆ run_adding_eq()

void run_adding_eq ( LADSPA_Handle instance,
unsigned long sample_count )
static

◆ run_eq()

void run_eq ( LADSPA_Handle instance,
unsigned long sample_count )
static

◆ set_run_adding_gain()

void set_run_adding_gain ( LADSPA_Handle instance,
LADSPA_Data gain )

◆ tap_fini()

void __DESTRUCTOR tap_fini ( )

◆ tap_init()

void __CONSTRUCTOR tap_init ( )

Variable Documentation

◆ eqDescriptor

LADSPA_Descriptor* eqDescriptor = NULL
static