Changeset b377d04


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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ext/jackio.c

    rec399cf rb377d04  
    152152
    153153/* jack callback functions */
    154 static void aubio_jack_shutdown (void *arg){
     154static void aubio_jack_shutdown (void *arg UNUSED){
    155155  AUBIO_ERR("jack shutdown\n");
    156156  AUBIO_QUIT(AUBIO_OK);
  • ext/midi/midi_player.c

    rec399cf rb377d04  
    476476 * \note This could be moved to a callback function defined in the main programs
    477477 */
    478 sint_t aubio_midi_receive_event(aubio_midi_player_t* player, aubio_midi_event_t* event)
     478sint_t aubio_midi_receive_event(aubio_midi_player_t* player UNUSED, aubio_midi_event_t* event)
    479479{
    480480  /* current time in seconds */
  • 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.