From ec68c677e0bd80bd29058b4c01462611f8e10011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Nettingsmeier?= Date: Fri, 15 Feb 2019 23:17:50 +0000 Subject: [PATCH] Remove jack_stop() function pointer from API struct, since it does nothing. Checked, no segfault on program termination. --- audio_jack.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/audio_jack.c b/audio_jack.c index e9730184..0221d043 100644 --- a/audio_jack.c +++ b/audio_jack.c @@ -57,7 +57,7 @@ audio_output audio_jack = {.name = "jack", .init = &jack_init, .deinit = &jack_deinit, .start = &jack_start, - .stop = &jack_stop, + .stop = NULL, .is_running = &jack_is_running, .flush = &jack_flush, .delay = &jack_delay, @@ -245,10 +245,6 @@ void jack_start(__attribute__((unused)) int i_sample_rate, debug(1, "cannot open a jack client for a play session"); } -void jack_stop(void) { - // debug(1, "jack stop"); -} - int jack_is_running() { int reply = -1; // meaning jack is not running if (client_is_open) {