Remove jack_stop() function pointer from API struct, since it does nothing. Checked, no segfault on program termination.
This commit is contained in:
+1
-5
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user