Dave Plater
0335447eb7
Update ton 0.4.17 fix boo#1006861 OBS-URL: https://build.opensuse.org/request/show/440029 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ladspa-swh-plugins?expand=0&rev=6
201 lines
6.3 KiB
Diff
201 lines
6.3 KiB
Diff
Index: delay_1898.c
|
|
===================================================================
|
|
--- delay_1898.c.orig 2016-11-12 13:33:01.088397087 +0200
|
|
+++ delay_1898.c 2016-11-12 13:33:30.592985418 +0200
|
|
@@ -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;
|
|
@@ -474,11 +474,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;
|
|
@@ -737,11 +737,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 2016-11-12 13:33:00.552388005 +0200
|
|
+++ allpass_1895.c 2016-11-12 13:33:30.592985418 +0200
|
|
@@ -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;
|
|
@@ -614,13 +614,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;
|
|
@@ -918,13 +918,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 2016-11-12 13:33:00.840392875 +0200
|
|
+++ comb_1887.c 2016-11-12 13:33:30.592985418 +0200
|
|
@@ -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;
|
|
@@ -605,13 +605,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;
|
|
@@ -905,13 +905,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 2016-11-12 13:33:00.688390305 +0200
|
|
+++ bandpass_iir_1892.c 2016-11-12 13:33:30.596985510 +0200
|
|
@@ -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;
|