Fix subtle bug breaking vari-speed (from d9caa7fd9a)

This commit is contained in:
Robin Gareus 2020-05-09 02:20:15 +02:00
parent abe23b5885
commit a46091b86a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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 */