Showing the changes to src/example0.c (1 of 49 files). Show all
Unified · Split
| @@ -38,7 +38,7 @@ int main(int argc, char * argv[]) · 37 unmodified lines | |||
| 38 | assert(argc == 3); | 38 | assert(argc == 3); |
| 39 | 39 | ||
| 40 | /* All libSoX applications must start by initialising the SoX library */ | 40 | /* All libSoX applications must start by initialising the SoX library */ |
| 41 | assert(sox_format_init() == SOX_SUCCESS); | 41 | assert(sox_init() == SOX_SUCCESS); |
| 42 | 42 | ||
| 43 | /* Open the input file (with default parameters) */ | 43 | /* Open the input file (with default parameters) */ |
| 44 | assert(in = sox_open_read(argv[1], NULL, NULL, NULL)); | 44 | assert(in = sox_open_read(argv[1], NULL, NULL, NULL)); |