Remove jack_stop() function pointer from API struct, since it does nothing. Checked, no segfault on program termination.

This commit is contained in:
Jörn Nettingsmeier
2019-02-15 23:17:50 +00:00
parent 8c5e85c87c
commit ec68c677e0
+1 -5
View File
@@ -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) {