Ignore:
Timestamp:
Apr 21, 2016, 7:36:56 PM (9 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:
00819aa
Parents:
ce3ff2b
Message:

src/spectral/: add const qualifiers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/filterbank.c

    rce3ff2b rfeb694b  
    5757
    5858void
    59 aubio_filterbank_do (aubio_filterbank_t * f, cvec_t * in, fvec_t * out)
     59aubio_filterbank_do (aubio_filterbank_t * f, const cvec_t * in, fvec_t * out)
    6060{
    6161  /* apply filter to all input channel, provided out has enough channels */
     
    7474
    7575fmat_t *
    76 aubio_filterbank_get_coeffs (aubio_filterbank_t * f)
     76aubio_filterbank_get_coeffs (const aubio_filterbank_t * f)
    7777{
    7878  return f->filters;
     
    8080
    8181uint_t
    82 aubio_filterbank_set_coeffs (aubio_filterbank_t * f, fmat_t * filter_coeffs)
     82aubio_filterbank_set_coeffs (aubio_filterbank_t * f, const fmat_t * filter_coeffs)
    8383{
    8484  fmat_copy(filter_coeffs, f->filters);
Note: See TracChangeset for help on using the changeset viewer.