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

Classes

struct  TubeWarmth

Macros

#define ID_MONO   2158
#define DRIVE   0
#define BLEND   1
#define INPUT   2
#define OUTPUT   3
#define PORTCOUNT_MONO   4
#define EPS   0.000000001f

Functions

LADSPA_Handle instantiate_TubeWarmth (const LADSPA_Descriptor *Descriptor, unsigned long sample_rate)
void connect_port_TubeWarmth (LADSPA_Handle Instance, unsigned long Port, LADSPA_Data *DataLocation)
static float M (float x)
static float D (float x)
void run_TubeWarmth (LADSPA_Handle Instance, unsigned long SampleCount)
void set_run_adding_gain_TubeWarmth (LADSPA_Handle Instance, LADSPA_Data gain)
void run_adding_TubeWarmth (LADSPA_Handle Instance, unsigned long SampleCount)
void cleanup_TubeWarmth (LADSPA_Handle Instance)
void __CONSTRUCTOR tap_init ()
void delete_descriptor (LADSPA_Descriptor *descriptor)
void __DESTRUCTOR tap_fini ()
const LADSPA_Descriptorladspa_descriptor (unsigned long Index)
 __INIT_FINI (tap_init, tap_fini)

Variables

LADSPA_Descriptormono_descriptor = NULL

Macro Definition Documentation

◆ BLEND

#define BLEND   1

◆ DRIVE

#define DRIVE   0

◆ EPS

#define EPS   0.000000001f

◆ ID_MONO

#define ID_MONO   2158

◆ INPUT

#define INPUT   2

◆ OUTPUT

#define OUTPUT   3

◆ PORTCOUNT_MONO

#define PORTCOUNT_MONO   4

Function Documentation

◆ __INIT_FINI()

__INIT_FINI ( tap_init ,
tap_fini  )

◆ cleanup_TubeWarmth()

void cleanup_TubeWarmth ( LADSPA_Handle Instance)

◆ connect_port_TubeWarmth()

void connect_port_TubeWarmth ( LADSPA_Handle Instance,
unsigned long Port,
LADSPA_Data * DataLocation )

◆ D()

float D ( float x)
inlinestatic

◆ delete_descriptor()

void delete_descriptor ( LADSPA_Descriptor * descriptor)

◆ instantiate_TubeWarmth()

LADSPA_Handle instantiate_TubeWarmth ( const LADSPA_Descriptor * Descriptor,
unsigned long sample_rate )

◆ ladspa_descriptor()

const LADSPA_Descriptor * ladspa_descriptor ( unsigned long Index)

◆ M()

float M ( float x)
inlinestatic

◆ run_adding_TubeWarmth()

void run_adding_TubeWarmth ( LADSPA_Handle Instance,
unsigned long SampleCount )

◆ run_TubeWarmth()

void run_TubeWarmth ( LADSPA_Handle Instance,
unsigned long SampleCount )

◆ set_run_adding_gain_TubeWarmth()

void set_run_adding_gain_TubeWarmth ( LADSPA_Handle Instance,
LADSPA_Data gain )

◆ tap_fini()

void __DESTRUCTOR tap_fini ( )

◆ tap_init()

void __CONSTRUCTOR tap_init ( )

Variable Documentation

◆ mono_descriptor

LADSPA_Descriptor* mono_descriptor = NULL