History

Restructure code so that restarting the effects chain can completely re-create the effects without memory leaks. In mult-output mode, only restart effects that do not have samples left. Framework now can support using different effects and options for each file processed. Also, removed attempt to optimatize when rate/mixer were auto-inserted because it was unpredicatable/confusing at how it affected longer chains.

cbagwell committed 18 years ago

Commit 6fa0f571 parent 7e27d2e7 files · +255 −110Browse files

Showing the changes to src/example0.c (1 of 7 files). Show all

Unified · Split

src/example0.c+1−2
@@ -83,10 +83,9 @@ int main(int argc, char * argv[]) · 82 unmodified lines
83 sox_flow_effects(chain, NULL);83 sox_flow_effects(chain, NULL);
84 84
85 /* All done; tidy up: */85 /* All done; tidy up: */
86 sox_delete_effects(chain);86 sox_delete_effects_chain(chain);
87 sox_close(out);87 sox_close(out);
88 sox_close(in);88 sox_close(in);
89 sox_format_quit();89 sox_format_quit();
90 free(chain);
91 return 0;90 return 0;
92}91}

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