Skip to content

Commit 0ce63a2

Browse files
committed
Bugfixes
1 parent 7243a18 commit 0ce63a2

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

src/main/meta/deesser.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ namespace lsp
111111

112112
#define DE_CROSSOVER(channels) \
113113
COMBO("split", "Enable frequency split", "Split", 2, de_split_modes), \
114-
COMBO("slope", "Frequency split slope", "Slope", 2, de_slopes), \
114+
COMBO("slope", "Frequency split slope", "Slope", 1, de_slopes), \
115115
LOG_CONTROL("split_f", "Split frequency", "Split freq", U_HZ, deesser::SPLIT_FREQ), \
116116
PERCENTS("xlink", "Crossover linkage", "Split link", 0.0f, 0.001f), \
117117
MESH("rgain", "Reduction gain chart", 1 + channels, deesser::FFT_MESH_POINTS + 4)
@@ -121,15 +121,15 @@ namespace lsp
121121
IN_GAIN, \
122122
OUT_GAIN, \
123123
SWITCH("showsc", "Show sidechain overlay", "Show SC bar", 0.0f), \
124-
LOG_CONTROL("zoom", "Graph zoom", "Zoom", U_GAIN_AMP, deesser::ZOOM), \
125-
LOG_CONTROL("slink", "Stereo linking", "Stereo link", U_PERCENT, deesser::LINKING)
124+
LOG_CONTROL("zoom", "Graph zoom", "Zoom", U_GAIN_AMP, deesser::ZOOM)
126125

127126
#define DE_COMMON_MONO \
128127
DE_COMMON
129128

130129
#define DE_COMMON_STEREO \
131130
DE_COMMON, \
132-
SWITCH("ssplit", "Stereo split", "Stereo split", 0.0f)
131+
SWITCH("ssplit", "Stereo split", "Stereo split", 0.0f), \
132+
LOG_CONTROL("slink", "Stereo linking", "Stereo link", U_PERCENT, deesser::LINKING)
133133

134134
static const port_t deesser_mono_ports[] =
135135
{

src/main/plug/deesser.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,14 @@ namespace lsp
113113

114114
// Init crossover settings
115115
sXOver.nMode = XOVER_NONE;
116-
sXOver.pMode = NULL;
117-
sXOver.pSlope = NULL;
116+
sXOver.nSlope = 1;
117+
sXOver.fFreq = 0.0f;
118118

119119
sXOver.vLoBand = NULL;
120120
sXOver.vHiBand = NULL;
121121

122+
sXOver.pMode = NULL;
123+
sXOver.pSlope = NULL;
122124
sXOver.pFreq = NULL;
123125
sXOver.pLink = NULL;
124126
sXOver.pMesh = NULL;
@@ -261,7 +263,7 @@ namespace lsp
261263
if (bSidechain)
262264
{
263265
for (size_t i=0; i<nChannels; ++i)
264-
BIND_PORT(vChannels[i].pOut);
266+
BIND_PORT(vChannels[i].pScIn);
265267
}
266268

267269
// Shared memory link

0 commit comments

Comments
 (0)