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
364 "[ type ] fade-in-length [ stop-time [ fade-out-length ] ]\n"364 "[ type ] fade-in-length [ stop-time [ fade-out-length ] ]\n"
365 " Time is in hh:mm:ss.frac format.\n"365 " Time is in hh:mm:ss.frac format.\n"
366 " Fade type one of q, h, t, l or p.",366 " Fade type one of q, h, t, l or p.",
367 SOX_EFF_MCHAN,367 SOX_EFF_MCHAN | SOX_EFF_LENGTH,
368 sox_fade_getopts,368 sox_fade_getopts,
369 sox_fade_start,369 sox_fade_start,
370 sox_fade_flow,370 sox_fade_flow,
src/noisered.c+1−1
@@ -1,4 +1,4 @@
1/* noiseprof - Noise Profiling Effect.1/* noisered - Noise Reduction Effect.
2 *2 *
3 * Written by Ian Turner (vectro@vectro.org)3 * Written by Ian Turner (vectro@vectro.org)
4 *4 *
src/remix.c+1−1
@@ -251,7 +251,7 @@ static int channels_start(sox_effect_t * effp) · 250 unmodified lines
251sox_effect_handler_t const * lsx_channels_effect_fn(void)251sox_effect_handler_t const * lsx_channels_effect_fn(void)
252{252{
253 static sox_effect_handler_t handler = {253 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,
255 channels_create, channels_start, flow, NULL, closedown, NULL, sizeof(priv_t)255 channels_create, channels_start, flow, NULL, closedown, NULL, sizeof(priv_t)
256 };256 };
257 return &handler;257 return &handler;
src/silence.c+1−1
@@ -665,7 +665,7 @@ static int kill(sox_effect_t * effp) · 664 unmodified lines
665static sox_effect_handler_t sox_silence_effect = {665static sox_effect_handler_t sox_silence_effect = {
666 "silence",666 "silence",
667 "[ -l ] above_periods [ duration thershold[d|%%] ] [ below_periods duration threshold[d|%%]]",667 "[ -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,
669 sox_silence_getopts,669 sox_silence_getopts,
670 sox_silence_start,670 sox_silence_start,
671 sox_silence_flow,671 sox_silence_flow,
src/speed.c+2−1
@@ -62,7 +62,8 @@ static int start(sox_effect_t * effp) · 61 unmodified lines
62sox_effect_handler_t const * lsx_speed_effect_fn(void)62sox_effect_handler_t const * lsx_speed_effect_fn(void)
63{63{
64 static sox_effect_handler_t handler = {64 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,
66 getopts, start, lsx_flow_copy, 0, 0, 0, sizeof(priv_t)};67 getopts, start, lsx_flow_copy, 0, 0, 0, sizeof(priv_t)};
67 return &handler;68 return &handler;
68}69}

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