History

Apply changes suggested in tracker patch 2909975 to fix effect flags for fade, remix, silence, and speed effects.

idigdoug committed 16 years ago

Commit b26f5381 parent e634cfd5 files · +6 −5Browse files

Unified · Split

5 files
  1. src/fade.c +1 −1
  2. src/noisered.c +1 −1
  3. src/remix.c +1 −1
  4. src/silence.c +1 −1
  5. src/speed.c +2 −1
src/fade.c+1−1
@@ -364,7 +364,7 @@ static sox_effect_handler_t sox_fade_effect = { · 363 unmodified lines
364364 "[ type ] fade-in-length [ stop-time [ fade-out-length ] ]\n"
365365 " Time is in hh:mm:ss.frac format.\n"
366366 " Fade type one of q, h, t, l or p.",
367− SOX_EFF_MCHAN,
367+ SOX_EFF_MCHAN | SOX_EFF_LENGTH,
368368 sox_fade_getopts,
369369 sox_fade_start,
370370 sox_fade_flow,
src/noisered.c+1−1
@@ -1,4 +1,4 @@
1−/* noiseprof - Noise Profiling Effect.
1+/* noisered - Noise Reduction Effect.
22 *
33 * Written by Ian Turner (vectro@vectro.org)
44 *
src/remix.c+1−1
@@ -251,7 +251,7 @@ static int channels_start(sox_effect_t * effp) · 250 unmodified lines
251251 sox_effect_handler_t const * lsx_channels_effect_fn(void)
252252 {
253253 static sox_effect_handler_t handler = {
254− "channels", "number", SOX_EFF_MCHAN | SOX_EFF_CHAN | SOX_EFF_MODIFY,
254+ "channels", "number", SOX_EFF_MCHAN | SOX_EFF_CHAN,
255255 channels_create, channels_start, flow, NULL, closedown, NULL, sizeof(priv_t)
256256 };
257257 return &handler;
src/silence.c+1−1
@@ -665,7 +665,7 @@ static int kill(sox_effect_t * effp) · 664 unmodified lines
665665 static sox_effect_handler_t sox_silence_effect = {
666666 "silence",
667667 "[ -l ] above_periods [ duration thershold[d|%%] ] [ below_periods duration threshold[d|%%]]",
668− SOX_EFF_MCHAN | SOX_EFF_MODIFY,
668+ SOX_EFF_MCHAN | SOX_EFF_MODIFY | SOX_EFF_LENGTH,
669669 sox_silence_getopts,
670670 sox_silence_start,
671671 sox_silence_flow,
src/speed.c+2−1
@@ -62,7 +62,8 @@ static int start(sox_effect_t * effp) · 61 unmodified lines
6262 sox_effect_handler_t const * lsx_speed_effect_fn(void)
6363 {
6464 static sox_effect_handler_t handler = {
65− "speed", "factor[c]",SOX_EFF_NULL|SOX_EFF_MCHAN|SOX_EFF_RATE|SOX_EFF_LENGTH,
65+ "speed", "factor[c]",
66+ SOX_EFF_MCHAN | SOX_EFF_RATE | SOX_EFF_LENGTH,
6667 getopts, start, lsx_flow_copy, 0, 0, 0, sizeof(priv_t)};
6768 return &handler;
6869 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t