From a46091b86a897d8d2886205ed0c277ddaf6f17cd Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 9 May 2020 02:20:15 +0200 Subject: Fix subtle bug breaking vari-speed (from d9caa7fd9a55e) --- libs/ardour/audio_port.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/audio_port.cc b/libs/ardour/audio_port.cc index ddbb2238df..510ab65f5d 100644 --- a/libs/ardour/audio_port.cc +++ b/libs/ardour/audio_port.cc @@ -136,7 +136,7 @@ AudioPort::get_audio_buffer (pframes_t nframes) Sample* addr; - if (!externally_connected () || 0 != (flags() & TransportSyncPort)) { + if (!externally_connected () || (0 != (flags() & TransportSyncPort))) { addr = (Sample *) port_engine.get_buffer (_port_handle, nframes); } else { /* _data was read and resampled as necessary in ::cycle_start */ -- cgit v1.2.3