}
/* jack callback functions */
-static void aubio_jack_shutdown (void *arg){
+static void aubio_jack_shutdown (void *arg UNUSED){
AUBIO_ERR("jack shutdown\n");
AUBIO_QUIT(AUBIO_OK);
}
*
* \note This could be moved to a callback function defined in the main programs
*/
-sint_t aubio_midi_receive_event(aubio_midi_player_t* player, aubio_midi_event_t* event)
+sint_t aubio_midi_receive_event(aubio_midi_player_t* player UNUSED, aubio_midi_event_t* event)
{
/* current time in seconds */
//smpl_t print_time = player->msec_passed * 1e-3;
return f;
}
-aubio_filter_t * new_aubio_filter(uint_t samplerate, uint_t order) {
+aubio_filter_t * new_aubio_filter(uint_t samplerate UNUSED, uint_t order) {
aubio_filter_t * f = AUBIO_NEW(aubio_filter_t);
lsmp_t * x = f->x;
lsmp_t * y = f->y;
/* Energy based onset detection function */
-void aubio_onsetdetection_energy (aubio_onsetdetection_t *o,
+void aubio_onsetdetection_energy (aubio_onsetdetection_t *o UNUSED,
cvec_t * fftgrain, fvec_t * onset) {
uint_t i,j;
for (i=0;i<fftgrain->channels;i++) {
}
/* High Frequency Content onset detection function */
-void aubio_onsetdetection_hfc(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset){
+void aubio_onsetdetection_hfc(aubio_onsetdetection_t *o UNUSED,
+ cvec_t * fftgrain, fvec_t * onset){
uint_t i,j;
for (i=0;i<fftgrain->channels;i++) {
onset->data[i][0] = 0.;
}
smpl_t freqconvmidi(smpl_t f,uint_t srate,uint_t bufsize);
-smpl_t freqconvmidi(smpl_t f,uint_t srate,uint_t bufsize){
+smpl_t freqconvmidi(smpl_t f,uint_t srate UNUSED,uint_t bufsize UNUSED){
return aubio_freqtomidi(f);
}
smpl_t freqconvpass(smpl_t f,uint_t srate,uint_t bufsize);
-smpl_t freqconvpass(smpl_t f,uint_t srate,uint_t bufsize){
+smpl_t freqconvpass(smpl_t f,uint_t srate UNUSED,uint_t bufsize UNUSED){
return f;
}