summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-05-09 02:20:15 +0200
committerRobin Gareus <robin@gareus.org>2020-05-09 02:20:15 +0200
commita46091b86a897d8d2886205ed0c277ddaf6f17cd (patch)
treec40b09625b8027f4c0b452714291b44c8bc119d3 /libs
parentabe23b588589631e65d438185f05fd3438927e68 (diff)
Fix subtle bug breaking vari-speed (from d9caa7fd9a55e)
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/audio_port.cc2
1 files changed, 1 insertions, 1 deletions
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 */