LMMS
Loading...
Searching...
No Matches
tap_reflector.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  Reflector

Macros

#define ID_MONO   2154
#define FRAGMENT   0
#define DRYLEVEL   1
#define WETLEVEL   2
#define INPUT   3
#define OUTPUT   4
#define PORTCOUNT_MONO   5
#define MIN_FRAGMENT_LEN   20
#define MAX_FRAGMENT_LEN   1600
#define MAX_SAMPLE_RATE   192
#define COS_TABLE_SIZE   1024

Functions

LADSPA_Handle instantiate_Reflector (const LADSPA_Descriptor *Descriptor, unsigned long sample_rate)
void activate_Reflector (LADSPA_Handle Instance)
void connect_port_Reflector (LADSPA_Handle Instance, unsigned long Port, LADSPA_Data *DataLocation)
void run_Reflector (LADSPA_Handle Instance, unsigned long SampleCount)
void set_run_adding_gain_Reflector (LADSPA_Handle Instance, LADSPA_Data gain)
void run_adding_Reflector (LADSPA_Handle Instance, unsigned long SampleCount)
void cleanup_Reflector (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 [COS_TABLE_SIZE]
LADSPA_Descriptormono_descriptor = NULL

Macro Definition Documentation

◆ COS_TABLE_SIZE

#define COS_TABLE_SIZE   1024

◆ DRYLEVEL

#define DRYLEVEL   1

◆ FRAGMENT

#define FRAGMENT   0

◆ ID_MONO

#define ID_MONO   2154

◆ INPUT

#define INPUT   3

◆ MAX_FRAGMENT_LEN

#define MAX_FRAGMENT_LEN   1600

◆ MAX_SAMPLE_RATE

#define MAX_SAMPLE_RATE   192

◆ MIN_FRAGMENT_LEN

#define MIN_FRAGMENT_LEN   20

◆ OUTPUT

#define OUTPUT   4

◆ PORTCOUNT_MONO

#define PORTCOUNT_MONO   5

◆ WETLEVEL

#define WETLEVEL   2

Function Documentation

◆ __INIT_FINI()

__INIT_FINI ( tap_init ,
tap_fini  )

◆ activate_Reflector()

void activate_Reflector ( LADSPA_Handle Instance)

◆ cleanup_Reflector()

void cleanup_Reflector ( LADSPA_Handle Instance)

◆ connect_port_Reflector()

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

◆ delete_descriptor()

void delete_descriptor ( LADSPA_Descriptor * descriptor)

◆ instantiate_Reflector()

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

◆ ladspa_descriptor()

const LADSPA_Descriptor * ladspa_descriptor ( unsigned long Index)

◆ run_adding_Reflector()

void run_adding_Reflector ( LADSPA_Handle Instance,
unsigned long SampleCount )

◆ run_Reflector()

void run_Reflector ( LADSPA_Handle Instance,
unsigned long SampleCount )

◆ set_run_adding_gain_Reflector()

void set_run_adding_gain_Reflector ( LADSPA_Handle Instance,
LADSPA_Data gain )

◆ tap_fini()

void __DESTRUCTOR tap_fini ( )

◆ tap_init()

void __CONSTRUCTOR tap_init ( )

Variable Documentation

◆ cos_table

◆ mono_descriptor

LADSPA_Descriptor* mono_descriptor = NULL