Ignore:
Timestamp:
Apr 21, 2016, 7:08:17 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, pitchshift, sampler, timestretch, yinfft+
Children:
69f74f0
Parents:
e9bd022
Message:

src/utils/: add const qualifiers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/utils/parameter.c

    re9bd022 r55d1fa4  
    8585}
    8686
    87 smpl_t aubio_parameter_get_current_value ( aubio_parameter_t * s )
     87smpl_t aubio_parameter_get_current_value ( const aubio_parameter_t * s )
    8888{
    8989  return s->current_value;
     
    110110}
    111111
    112 uint_t aubio_parameter_get_steps ( aubio_parameter_t * param )
     112uint_t aubio_parameter_get_steps ( const aubio_parameter_t * param )
    113113{
    114114  return param->steps;
     
    121121}
    122122
    123 smpl_t aubio_parameter_get_min_value ( aubio_parameter_t * param )
     123smpl_t aubio_parameter_get_min_value ( const aubio_parameter_t * param )
    124124{
    125125  return param->min_value;
     
    132132}
    133133
    134 smpl_t aubio_parameter_get_max_value ( aubio_parameter_t * param )
     134smpl_t aubio_parameter_get_max_value ( const aubio_parameter_t * param )
    135135{
    136136  return param->max_value;
Note: See TracChangeset for help on using the changeset viewer.