linux-jack: mark ports as JackPortIsTerminal

Ports which do not feed audio back into JACK should be marked as terminal.
This allows latency compensation to work properly.
master
Hector Martin 2020-11-04 17:28:37 +09:00 committed by Jim
parent a5d08e347e
commit a5439d29d0
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ int_fast32_t jack_init(struct jack_data *data)
data->jack_ports[i] = jack_port_register(
data->jack_client, port_name, JACK_DEFAULT_AUDIO_TYPE,
JackPortIsInput, 0);
JackPortIsInput | JackPortIsTerminal, 0);
if (data->jack_ports[i] == NULL) {
blog(LOG_ERROR,
"jack_port_register Error:"