mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
add error check to call to PortManager::reestablish_ports
This commit is contained in:
parent
dc4a984cd6
commit
56716a1f28
1 changed files with 5 additions and 2 deletions
|
|
@ -547,8 +547,11 @@ JACKAudioBackend::_start (bool for_latency_measurement)
|
|||
/* Now that we have buffer size and sample rate established, the engine
|
||||
can go ahead and do its stuff
|
||||
*/
|
||||
|
||||
engine.reestablish_ports ();
|
||||
|
||||
if (engine.reestablish_ports ()) {
|
||||
error << _("Could not re-establish ports after connecting to JACK") << endmsg;
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!jack_port_type_get_buffer_size) {
|
||||
warning << _("This version of JACK is old - you should upgrade to a newer version that supports jack_port_type_get_buffer_size()") << endmsg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue