From cee216f2dcc4b256f9e9c62ecd9fd1362f86707f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Oct 2009 21:01:00 +0200 Subject: [PATCH] output/jack: removed the empty "cancel" method JACK doesn't need cancel() because it won't do much anyway. Buffers are small. --- src/output/jack_output_plugin.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/output/jack_output_plugin.c b/src/output/jack_output_plugin.c index 37d215308..a11fc411c 100644 --- a/src/output/jack_output_plugin.c +++ b/src/output/jack_output_plugin.c @@ -348,11 +348,6 @@ mpd_jack_close(G_GNUC_UNUSED void *data) mpd_jack_client_free(jd); } -static void -mpd_jack_cancel (G_GNUC_UNUSED void *data) -{ -} - static inline jack_default_audio_sample_t sample_16_to_jack(int16_t sample) { @@ -485,7 +480,6 @@ const struct audio_output_plugin jack_output_plugin = { .finish = mpd_jack_finish, .open = mpd_jack_open, .play = mpd_jack_play, - .cancel = mpd_jack_cancel, .pause = mpd_jack_pause, .close = mpd_jack_close, };