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
parent
a5d08e347e
commit
a5439d29d0
|
@ -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:"
|
||||
|
|
Loading…
Reference in New Issue