Changeset d94afb3
- Timestamp:
- Nov 29, 2018, 1:07:15 AM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- 703cc2b
- Parents:
- e7edf92
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/utils_tests.h
re7edf92 rd94afb3 118 118 const int argc = 2; 119 119 int err = 0; 120 char* argv[argc];120 char** argv = (char**)calloc(argc, sizeof(char*)); 121 121 char sink_path[PATH_MAX] = "tmp_aubio_XXXXXX"; 122 122 int fd = create_temp_sink(sink_path); … … 126 126 err = main(argc, argv); 127 127 close_temp_sink(sink_path, fd); 128 if (argv) free(argv); 128 129 return err; 129 130 }
Note: See TracChangeset
for help on using the changeset viewer.