Changeset c4d014a


Ignore:
Timestamp:
Jan 12, 2017, 11:42:33 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
Children:
8f0db97
Parents:
9da4202
Message:

examples/parse_args.h: really use atoi, cast to smpl_t, see #83

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/parse_args.h

    r9da4202 rc4d014a  
    220220        break;
    221221      case 'N':
    222         miditap_note = atof (optarg);
     222        miditap_note = (smpl_t) atoi (optarg);
    223223        break;
    224224      case 'V':
    225         miditap_velo = atof (optarg);
     225        miditap_velo = (smpl_t) atoi (optarg);
    226226        break;
    227227      case 'i':
Note: See TracChangeset for help on using the changeset viewer.