Changeset b377d04 for src


Ignore:
Timestamp:
Oct 10, 2006, 3:12:19 PM (18 years ago)
Author:
Paul Brossier <piem@altern.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:
633fb32
Parents:
ec399cf
Message:

remove unused parameter warnings with UNUSED
remove unused parameter warnings with UNUSED

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/filter.c

    rec399cf rb377d04  
    192192}
    193193
    194 aubio_filter_t * new_aubio_filter(uint_t samplerate, uint_t order) {
     194aubio_filter_t * new_aubio_filter(uint_t samplerate UNUSED, uint_t order) {
    195195  aubio_filter_t * f = AUBIO_NEW(aubio_filter_t);
    196196  lsmp_t * x = f->x;
  • src/onsetdetection.c

    rec399cf rb377d04  
    4343
    4444/* Energy based onset detection function */
    45 void aubio_onsetdetection_energy  (aubio_onsetdetection_t *o,
     45void aubio_onsetdetection_energy  (aubio_onsetdetection_t *o UNUSED,
    4646                cvec_t * fftgrain, fvec_t * onset) {
    4747        uint_t i,j;
     
    5555
    5656/* High Frequency Content onset detection function */
    57 void aubio_onsetdetection_hfc(aubio_onsetdetection_t *o,        cvec_t * fftgrain, fvec_t * onset){
     57void aubio_onsetdetection_hfc(aubio_onsetdetection_t *o UNUSED,
     58    cvec_t * fftgrain, fvec_t * onset){
    5859        uint_t i,j;
    5960        for (i=0;i<fftgrain->channels;i++) {
  • src/pitchdetection.c

    rec399cf rb377d04  
    6868
    6969smpl_t freqconvmidi(smpl_t f,uint_t srate,uint_t bufsize);
    70 smpl_t freqconvmidi(smpl_t f,uint_t srate,uint_t bufsize){
     70smpl_t freqconvmidi(smpl_t f,uint_t srate UNUSED,uint_t bufsize UNUSED){
    7171        return aubio_freqtomidi(f);
    7272}
    7373
    7474smpl_t freqconvpass(smpl_t f,uint_t srate,uint_t bufsize);
    75 smpl_t freqconvpass(smpl_t f,uint_t srate,uint_t bufsize){
     75smpl_t freqconvpass(smpl_t f,uint_t srate UNUSED,uint_t bufsize UNUSED){
    7676        return f;
    7777}
Note: See TracChangeset for help on using the changeset viewer.