aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-21 21:01:00 +0200
committerMax Kellermann <max@duempel.org>2009-10-21 21:01:00 +0200
commitcee216f2dcc4b256f9e9c62ecd9fd1362f86707f (patch)
tree60e1c1eebfa415b77fe015b08a15a49da849df7e /src
parent27c246e8d97f9ce47b4399078caee1ff91669a12 (diff)
downloadmpd-cee216f2dcc4b256f9e9c62ecd9fd1362f86707f.tar.gz
mpd-cee216f2dcc4b256f9e9c62ecd9fd1362f86707f.tar.xz
mpd-cee216f2dcc4b256f9e9c62ecd9fd1362f86707f.zip
output/jack: removed the empty "cancel" method
JACK doesn't need cancel() because it won't do much anyway. Buffers are small.
Diffstat (limited to 'src')
-rw-r--r--src/output/jack_output_plugin.c6
1 files changed, 0 insertions, 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,
};