Dave Plater
3d085b0e0a
Update to pre 0.4.16 git to fix undefined symbol error in 14 plugins OBS-URL: https://build.opensuse.org/request/show/376371 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ladspa-swh-plugins?expand=0&rev=5
201 lines
6.0 KiB
Diff
201 lines
6.0 KiB
Diff
Index: delay_1898.c
|
|
===================================================================
|
|
--- delay_1898.c.orig
|
|
+++ delay_1898.c
|
|
@@ -187,11 +187,11 @@ static LADSPA_Handle instantiateDelay_n(
|
|
unsigned long s_rate) {
|
|
Delay_n *plugin_data = (Delay_n *)calloc(1, sizeof(Delay_n));
|
|
LADSPA_Data *buffer = NULL;
|
|
- unsigned int buffer_mask;
|
|
- LADSPA_Data delay_samples;
|
|
- LADSPA_Data last_delay_time;
|
|
- unsigned int sample_rate;
|
|
- long write_phase;
|
|
+ unsigned int buffer_mask = 0;
|
|
+ LADSPA_Data delay_samples = 0;
|
|
+ LADSPA_Data last_delay_time = 0;
|
|
+ unsigned int sample_rate = 0;
|
|
+ long write_phase = 0;
|
|
|
|
#line 27 "delay_1898.xml"
|
|
sample_rate = s_rate;
|
|
@@ -462,11 +462,11 @@ static LADSPA_Handle instantiateDelay_l(
|
|
unsigned long s_rate) {
|
|
Delay_l *plugin_data = (Delay_l *)calloc(1, sizeof(Delay_l));
|
|
LADSPA_Data *buffer = NULL;
|
|
- unsigned int buffer_mask;
|
|
- LADSPA_Data delay_samples;
|
|
- LADSPA_Data last_delay_time;
|
|
- unsigned int sample_rate;
|
|
- long write_phase;
|
|
+ unsigned int buffer_mask = 0;
|
|
+ LADSPA_Data delay_samples = 0;
|
|
+ LADSPA_Data last_delay_time = 0;
|
|
+ unsigned int sample_rate = 0;
|
|
+ long write_phase = 0;
|
|
|
|
#line 27 "delay_1898.xml"
|
|
sample_rate = s_rate;
|
|
@@ -713,11 +713,11 @@ static LADSPA_Handle instantiateDelay_c(
|
|
unsigned long s_rate) {
|
|
Delay_c *plugin_data = (Delay_c *)calloc(1, sizeof(Delay_c));
|
|
LADSPA_Data *buffer = NULL;
|
|
- unsigned int buffer_mask;
|
|
- LADSPA_Data delay_samples;
|
|
- LADSPA_Data last_delay_time;
|
|
- unsigned int sample_rate;
|
|
- long write_phase;
|
|
+ unsigned int buffer_mask = 0;
|
|
+ LADSPA_Data delay_samples = 0;
|
|
+ LADSPA_Data last_delay_time = 0;
|
|
+ unsigned int sample_rate = 0;
|
|
+ long write_phase = 0;
|
|
|
|
#line 27 "delay_1898.xml"
|
|
sample_rate = s_rate;
|
|
Index: allpass_1895.c
|
|
===================================================================
|
|
--- allpass_1895.c.orig
|
|
+++ allpass_1895.c
|
|
@@ -224,13 +224,13 @@ static LADSPA_Handle instantiateAllpass_
|
|
unsigned long s_rate) {
|
|
Allpass_n *plugin_data = (Allpass_n *)calloc(1, sizeof(Allpass_n));
|
|
LADSPA_Data *buffer = NULL;
|
|
- unsigned int buffer_mask;
|
|
- LADSPA_Data delay_samples;
|
|
- LADSPA_Data feedback;
|
|
- LADSPA_Data last_decay_time;
|
|
- LADSPA_Data last_delay_time;
|
|
+ unsigned int buffer_mask = 0;
|
|
+ LADSPA_Data delay_samples = 0;
|
|
+ LADSPA_Data feedback = 0;
|
|
+ LADSPA_Data last_decay_time = 0;
|
|
+ LADSPA_Data last_delay_time = 0;
|
|
unsigned int sample_rate;
|
|
- long write_phase;
|
|
+ long write_phase = 0;
|
|
|
|
#line 44 "allpass_1895.xml"
|
|
sample_rate = s_rate;
|
|
@@ -606,13 +606,13 @@ static LADSPA_Handle instantiateAllpass_
|
|
unsigned long s_rate) {
|
|
Allpass_l *plugin_data = (Allpass_l *)calloc(1, sizeof(Allpass_l));
|
|
LADSPA_Data *buffer = NULL;
|
|
- unsigned int buffer_mask;
|
|
- LADSPA_Data delay_samples;
|
|
- LADSPA_Data feedback;
|
|
- LADSPA_Data last_decay_time;
|
|
- LADSPA_Data last_delay_time;
|
|
+ unsigned int buffer_mask = 0;
|
|
+ LADSPA_Data delay_samples = 0;
|
|
+ LADSPA_Data feedback = 0;
|
|
+ LADSPA_Data last_decay_time = 0;
|
|
+ LADSPA_Data last_delay_time = 0;
|
|
unsigned int sample_rate;
|
|
- long write_phase;
|
|
+ long write_phase = 0;
|
|
|
|
#line 44 "allpass_1895.xml"
|
|
sample_rate = s_rate;
|
|
@@ -898,13 +898,13 @@ static LADSPA_Handle instantiateAllpass_
|
|
unsigned long s_rate) {
|
|
Allpass_c *plugin_data = (Allpass_c *)calloc(1, sizeof(Allpass_c));
|
|
LADSPA_Data *buffer = NULL;
|
|
- unsigned int buffer_mask;
|
|
- LADSPA_Data delay_samples;
|
|
- LADSPA_Data feedback;
|
|
- LADSPA_Data last_decay_time;
|
|
- LADSPA_Data last_delay_time;
|
|
+ unsigned int buffer_mask = 0;
|
|
+ LADSPA_Data delay_samples = 0;
|
|
+ LADSPA_Data feedback = 0;
|
|
+ LADSPA_Data last_decay_time = 0;
|
|
+ LADSPA_Data last_delay_time = 0;
|
|
unsigned int sample_rate;
|
|
- long write_phase;
|
|
+ long write_phase = 0;
|
|
|
|
#line 44 "allpass_1895.xml"
|
|
sample_rate = s_rate;
|
|
Index: comb_1887.c
|
|
===================================================================
|
|
--- comb_1887.c.orig
|
|
+++ comb_1887.c
|
|
@@ -221,13 +221,13 @@ static LADSPA_Handle instantiateComb_n(
|
|
unsigned long s_rate) {
|
|
Comb_n *plugin_data = (Comb_n *)calloc(1, sizeof(Comb_n));
|
|
LADSPA_Data *buffer = NULL;
|
|
- unsigned int buffer_mask;
|
|
- LADSPA_Data delay_samples;
|
|
- LADSPA_Data feedback;
|
|
- LADSPA_Data last_decay_time;
|
|
- LADSPA_Data last_delay_time;
|
|
+ unsigned int buffer_mask = 0;
|
|
+ LADSPA_Data delay_samples = 0;
|
|
+ LADSPA_Data feedback = 0;
|
|
+ LADSPA_Data last_decay_time = 0;
|
|
+ LADSPA_Data last_delay_time = 0;
|
|
unsigned int sample_rate;
|
|
- long write_phase;
|
|
+ long write_phase = 0;
|
|
|
|
#line 41 "comb_1887.xml"
|
|
sample_rate = s_rate;
|
|
@@ -597,13 +597,13 @@ static LADSPA_Handle instantiateComb_l(
|
|
unsigned long s_rate) {
|
|
Comb_l *plugin_data = (Comb_l *)calloc(1, sizeof(Comb_l));
|
|
LADSPA_Data *buffer = NULL;
|
|
- unsigned int buffer_mask;
|
|
- LADSPA_Data delay_samples;
|
|
- LADSPA_Data feedback;
|
|
- LADSPA_Data last_decay_time;
|
|
- LADSPA_Data last_delay_time;
|
|
+ unsigned int buffer_mask = 0;
|
|
+ LADSPA_Data delay_samples = 0;
|
|
+ LADSPA_Data feedback = 0;
|
|
+ LADSPA_Data last_decay_time = 0;
|
|
+ LADSPA_Data last_delay_time = 0;
|
|
unsigned int sample_rate;
|
|
- long write_phase;
|
|
+ long write_phase = 0;
|
|
|
|
#line 41 "comb_1887.xml"
|
|
sample_rate = s_rate;
|
|
@@ -889,13 +889,13 @@ static LADSPA_Handle instantiateComb_c(
|
|
unsigned long s_rate) {
|
|
Comb_c *plugin_data = (Comb_c *)calloc(1, sizeof(Comb_c));
|
|
LADSPA_Data *buffer = NULL;
|
|
- unsigned int buffer_mask;
|
|
- LADSPA_Data delay_samples;
|
|
- LADSPA_Data feedback;
|
|
- LADSPA_Data last_decay_time;
|
|
- LADSPA_Data last_delay_time;
|
|
+ unsigned int buffer_mask = 0;
|
|
+ LADSPA_Data delay_samples = 0;
|
|
+ LADSPA_Data feedback = 0;
|
|
+ LADSPA_Data last_decay_time = 0;
|
|
+ LADSPA_Data last_delay_time = 0;
|
|
unsigned int sample_rate;
|
|
- long write_phase;
|
|
+ long write_phase = 0;
|
|
|
|
#line 41 "comb_1887.xml"
|
|
sample_rate = s_rate;
|
|
Index: bandpass_iir_1892.c
|
|
===================================================================
|
|
--- bandpass_iir_1892.c.orig
|
|
+++ bandpass_iir_1892.c
|
|
@@ -144,10 +144,10 @@ static LADSPA_Handle instantiateBandpass
|
|
iir_stage_t*first = NULL;
|
|
iir_stage_t*gt = NULL;
|
|
iirf_t*iirf = NULL;
|
|
- float lfc;
|
|
+ float lfc = 0;
|
|
long sample_rate;
|
|
iir_stage_t*second = NULL;
|
|
- float ufc;
|
|
+ float ufc = 0;
|
|
|
|
#line 24 "bandpass_iir_1892.xml"
|
|
sample_rate = s_rate;
|