- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/synth/test-wavetable.c
r0de816c r9720945 7 7 8 8 if (argc < 2) { 9 PRINT_ERR("not enough arguments, running tests\n");10 err = run_on_default_sink(main);9 err = 2; 10 PRINT_ERR("not enough arguments\n"); 11 11 PRINT_MSG("usage: %s <output_path> [freq] [samplerate]\n", argv[0]); 12 12 return err; … … 18 18 19 19 char_t *sink_path = argv[1]; 20 if ( argc >= 4 ) samplerate = atoi(argv[3]);21 if ( argc >= 3 ) freq = atof(argv[2]);20 if ( argc == 4 ) samplerate = atoi(argv[3]); 21 if ( argc == 3 ) freq = atof(argv[2]); 22 22 23 23 fvec_t *vec = new_fvec(hop_size);
Note: See TracChangeset
for help on using the changeset viewer.