LMMS
Loading...
Searching...
No Matches
tap_tremolo.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  Tremolo

Macros

#define ID_MONO   2144
#define CONTROL_FREQ   0
#define CONTROL_DEPTH   1
#define CONTROL_GAIN   2
#define INPUT_0   3
#define OUTPUT_0   4
#define PORTCOUNT_MONO   5

Functions

LADSPA_Handle instantiate_Tremolo (const LADSPA_Descriptor *Descriptor, unsigned long SampleRate)
void activate_Tremolo (LADSPA_Handle Instance)
void connect_port_Tremolo (LADSPA_Handle Instance, unsigned long Port, LADSPA_Data *DataLocation)
void run_Tremolo (LADSPA_Handle Instance, unsigned long SampleCount)
void set_run_adding_gain_Tremolo (LADSPA_Handle Instance, LADSPA_Data gain)
void run_adding_Tremolo (LADSPA_Handle Instance, unsigned long SampleCount)
void cleanup_Tremolo (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_Data cos_table [1024]
LADSPA_Descriptormono_descriptor = NULL

Macro Definition Documentation

◆ CONTROL_DEPTH

#define CONTROL_DEPTH   1

◆ CONTROL_FREQ

#define CONTROL_FREQ   0

◆ CONTROL_GAIN

#define CONTROL_GAIN   2

◆ ID_MONO

#define ID_MONO   2144

◆ INPUT_0

#define INPUT_0   3

◆ OUTPUT_0

#define OUTPUT_0   4

◆ PORTCOUNT_MONO

#define PORTCOUNT_MONO   5

Function Documentation

◆ __INIT_FINI()

__INIT_FINI ( tap_init ,
tap_fini  )

◆ activate_Tremolo()

void activate_Tremolo ( LADSPA_Handle Instance)

◆ cleanup_Tremolo()

void cleanup_Tremolo ( LADSPA_Handle Instance)

◆ connect_port_Tremolo()

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

◆ delete_descriptor()

void delete_descriptor ( LADSPA_Descriptor * descriptor)

◆ instantiate_Tremolo()

LADSPA_Handle instantiate_Tremolo ( const LADSPA_Descriptor * Descriptor,
unsigned long SampleRate )

◆ ladspa_descriptor()

const LADSPA_Descriptor * ladspa_descriptor ( unsigned long Index)

◆ run_adding_Tremolo()

void run_adding_Tremolo ( LADSPA_Handle Instance,
unsigned long SampleCount )

◆ run_Tremolo()

void run_Tremolo ( LADSPA_Handle Instance,
unsigned long SampleCount )

◆ set_run_adding_gain_Tremolo()

void set_run_adding_gain_Tremolo ( LADSPA_Handle Instance,
LADSPA_Data gain )

◆ tap_fini()

void __DESTRUCTOR tap_fini ( )

◆ tap_init()

void __CONSTRUCTOR tap_init ( )

Variable Documentation

◆ cos_table

LADSPA_Data cos_table[1024]

◆ mono_descriptor

LADSPA_Descriptor* mono_descriptor = NULL